-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
Until now I have been creating (optional) headers for IFCJSON files like this:
{
"header": {
"file_description": {
"description": "ViewDefinition [CoordinationView]",
"implementation_level": "2;1"
},
"file_name": {
"name": "7m900_tue_hello_wall_with_door.json",
"time_stamp": "2020-05-30T09:18:25",
"author": "",
"organization": "",
"preprocessor_version": "IFC-manager for SketchUp (3.0.1)",
"originating_system": "SketchUp Pro 2018 (18.0.16975)",
"authorization": ""
},
"file_schema": "IFC2X3"
},
"data": [
{
"type": "IfcProject",
I propose to change it to something like this:
{
"type": "ifcjson",
"file_description": {
"description": "ViewDefinition [CoordinationView]",
"implementation_level": "2;1"
},
"file_name": {
"name": "7m900_tue_hello_wall_with_door.json",
"time_stamp": "2020-05-30T09:09:10",
"author": "",
"organization": "",
"preprocessor_version": "IFC-manager for SketchUp (3.0.1)",
"originating_system": "SketchUp Pro 2018 (18.0.16975)",
"authorization": ""
},
"file_schema": "IFC2X3",
"data": [
{
"type": "IfcProject",
Where I added a main "type", and flattened the "header" section.
That main type could be mandatory because it tells a parser that it can expect "ifcjson" data.
The STEP style file_description, file_name and file_schema could also be further flattened or simplyfied by stripping the "file_".
Reactions are currently unavailable
Metadata
Metadata
Labels
No labels