Skip to content

Instantly share code, notes, and snippets.

@PrestonII
Last active December 5, 2025 09:55
Show Gist options
  • Select an option

  • Save PrestonII/07735936028695a3a74efa4a29beba95 to your computer and use it in GitHub Desktop.

Select an option

Save PrestonII/07735936028695a3a74efa4a29beba95 to your computer and use it in GitHub Desktop.
Schema for Stability Metrics Gathering
// This is an NDJSON so it should actually be flat - just expanding this out for ease of reading
{
// must-have NOW
"event_id": "01J6YX0ABCDEF002",
"client_version": "Revit 2023",
"schema_version": 0.1.0,
"iso_version": 3.2.0,
"engine_version": 3.1.6,
"ts_utc": "2025-09-16T14:30:05.000Z",
"org_id": "ipx", // should match the team_id in Airtable
"project_id": "foijewrogje-fewroigeg-gierwngog", // should match the project_id in Airtable
"model_id": null,
"document_title": "Project Meta Gathering",
"user_id": "symonkipkemei", // their revit user or windows user?
"user_ip": "192.168.0.42",
"action": "modify", // can be CREATE | MODIFY | DELETE
"element_id": "f03it40-04950hm0-g4m04wm",
"element_category_revit": "Walls",
// must have LATER
"subtype_key": "partition", //IMPORTANT
"model_variant_key": "wall_int_ext", // IMPORTANT
"ml_class_key": "partition_wall", // NICE TO HAVE
"element_family": "Wall 9 in", // NICE TO HAVE
"element_type": "Wall Interior", // NICE TO HAVE
"parameter_name_ipx": "line_end_y", // IMPORTANT
"parameter_name_revit": "length",
}
@symonkipkemei
Copy link

symonkipkemei commented Dec 5, 2025

UPDATED SCHEMA : 12/05/2025

{
    // MUST-HAVE NOW
    "event_id": "string",                  // 0ae91e24-ae5d-41fb-b425-e01862cc9577
    "client_version": "string",            // 2024
    "schema_version": "string",            // 0.1.0
    "iso_version": "string",               // v0.9.26
    "ts_utc": "string",                    // 2025-12-05T07:29:40.8093976Z

    "org_id": [],                          // [Matterport]
    "project_id": "string",                    // SWGhnKKPpX2Q4FGSKlTIb
    "model_id": "string",                  // 6ca4f1d5-2ad5-4ef4-bccf-2aaf0297de88-00260b11
    "document_title": "string",            // Snowdon Towers Sample Architectural
    "user_id": "string",                   // symon.kiplelgo.kipkemei
    "user_ip": "string",                   // 129.222.187.134

    "action_project": "string",            // MODIFY
    "action_element": "string",            // CREATE
    "element_id": "string",                // 2493201
    "element_category_revit": "string",    // Plumbing Fixtures

    // MUST-HAVE LATER
    "subtype_key": "string",               // sink
    "model_variant_key": "string",         // sink-unknown
    "ml_class_key": "string",              // sink

    "element_family_revit": "string",      // Sink-3 Basin
    "element_type_revit": "string",        // 91" Width
    "element_class_revit": "string"        // FamilyInstance 
    "parameter_name_revit": []            // {pending} [Length, Width, Height,Depth]. parameters definition for the family instance
    "parameter_name_ipx": [],             // {Pending} [axes, axes_u, axes_v, axes_w, extents, extents_u,extents_v,extents_w]

    // OTHER METADATA
    "session_id": "string",                // 675a4b80107f43968483b214ac11ca75
    "document_id": "string",          // b8341cf31c744a31b04590b2d49c3a14 (Unique documents in a session)
    "bim_team": [],                        // [Test Partner 1]
    "project_name": "string",       // CenTrio Houston Roof
    
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment