Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Documentation available for explaining how to convert EXPRESS Schema to JSON Schema #14

Open
ESiham opened this issue Sep 13, 2021 · 2 comments

Comments

@ESiham
Copy link

ESiham commented Sep 13, 2021

Hello everyone,
I can't found any information about how to convert the IFC EXPRESS Schema to the JSON Schema, it is available ?
@janbrouwer
thanks

@ESiham
Copy link
Author

ESiham commented Oct 6, 2021

After running the script schema_parser.py I am getting the following results

{

"$schema": "http://json-schema.org/draft-07/schema#",
"title": "ifcJSON None Schema",
"description": "This is the schema for representing None data in JSON",
"type": "object",
"properties": {
"type": {
"const": "ifcJSON"
},
"version": {
"type": "string"
},
"schemaIdentifier": {
"type": "string"
},
"originatingSystem": {
"type": "string"
},
"preprocessorVersion": {
"type": "string"
},
"timeStamp": {
"type": "string",
"format": "date-time"
},
"data": {
"type": "array",
"items": {
"anyOf": []
}
}
},
"definitions": {},
"required": [
"type",
"data"
]
}
I am getting None instead of the schema version, It sounds that the script can't read the .exp file 😕

@mostl33
Copy link

mostl33 commented Oct 31, 2024

old one ... it works if you convert the Express schema to Windows/DOS line breaks (try unix2dos)

Cheers
ML

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants