rvt 0.4.0

Apache-2.0 clean-room reader for Autodesk Revit files (.rvt, .rfa, .rte, .rft) without Revit: metadata, previews and the embedded schema of 2016-2026 files, and typed elements with measured geometry from Revit 2024 and 2025 projects, exported as IFC4, glTF and plan SVG.
Documentation
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://drunkonjava.github.io/rvt-rs/schemas/summary.schema.json",
  "title": "rvt summary JSON",
  "description": "Stable file summary emitted by rvt-info -f json (single file) and exposed by reader summaries. `document` carries worksharing, save history and document identity (file-metadata.schema.json).",
  "type": "object",
  "required": [
    "file_size",
    "streams",
    "version",
    "class_name_count",
    "class_name_sample"
  ],
  "properties": {
    "file_size": {
      "type": "integer",
      "minimum": 0
    },
    "streams": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "version": {
      "type": "integer",
      "minimum": 0
    },
    "build": {
      "type": [
        "string",
        "null"
      ]
    },
    "original_path": {
      "type": [
        "string",
        "null"
      ]
    },
    "guid": {
      "type": [
        "string",
        "null"
      ]
    },
    "locale": {
      "type": [
        "string",
        "null"
      ]
    },
    "partition_stream": {
      "type": [
        "string",
        "null"
      ]
    },
    "partatom": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "title": {
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "type": [
            "string",
            "null"
          ]
        },
        "updated": {
          "type": [
            "string",
            "null"
          ]
        },
        "taxonomies": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "term",
              "label"
            ],
            "properties": {
              "term": {
                "type": "string"
              },
              "label": {
                "type": "string"
              }
            }
          }
        },
        "categories": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "term",
              "scheme"
            ],
            "properties": {
              "term": {
                "type": "string"
              },
              "scheme": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          }
        },
        "omniclass": {
          "type": [
            "string",
            "null"
          ]
        },
        "raw_xml": {
          "type": "string"
        },
        "entry_title": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "class_name_count": {
      "type": "integer",
      "minimum": 0
    },
    "class_name_sample": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "document": {
      "anyOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/$defs/file_metadata"
        }
      ]
    }
  },
  "$defs": {
    "file_metadata": {
      "description": "Document identity from BasicFileInfo and the document Atom entry (rvt::metadata::FileMetadata): release, worksharing, last save, document GUID. Emitted as `document` by rvt-info -f json on one file.",
      "type": "object",
      "required": [
        "revit_version",
        "properties"
      ],
      "properties": {
        "revit_version": {
          "type": "integer",
          "minimum": 0
        },
        "build": {
          "type": [
            "string",
            "null"
          ]
        },
        "title": {
          "type": [
            "string",
            "null"
          ]
        },
        "last_saved": {
          "type": [
            "string",
            "null"
          ]
        },
        "worksharing": {
          "type": [
            "string",
            "null"
          ]
        },
        "workshared": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "username": {
          "type": [
            "string",
            "null"
          ]
        },
        "central_model_path": {
          "type": [
            "string",
            "null"
          ]
        },
        "last_save_path": {
          "type": [
            "string",
            "null"
          ]
        },
        "document_guid": {
          "type": [
            "string",
            "null"
          ]
        },
        "document_increments": {
          "type": [
            "integer",
            "null"
          ],
          "minimum": 0
        },
        "locale": {
          "type": [
            "string",
            "null"
          ]
        },
        "single_user_cloud_model": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "properties": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "key",
              "value"
            ],
            "properties": {
              "key": {
                "type": "string"
              },
              "value": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}