You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vorto Repository exposes an REST API for the /models/{id}/content endpoint that accepts the following media types:
application/schema-instance+json
application/schema+json
The output creates a JSON schema representation for the request model content.
Works for Datatype,FB and Information Model
Includes model references, properties, operations and events (status,configuration,events) in one JsonSchema file
Technical Hint:
Use the Eclipse Ditto generator as a basis as help on the JsonSchema generation
Ditto needs to be able to access models from Vorto in DRAFT mode to simplify development
The text was updated successfully, but these errors were encountered:
Hi @zubairhamed
The json-schema output is not related to Ditto nor does it contain Ditto structures. It is basically a JSON-Schema representation of the Vorto DSL.
I guess that this JSON schema can be generated by a Vorto generator. This generator can be called through the generator controller. Is there a real need to do this with /models/{id}/content?
Vorto Repository exposes an REST API for the /models/{id}/content endpoint that accepts the following media types:
application/schema-instance+json
application/schema+json
The output creates a JSON schema representation for the request model content.
Works for Datatype,FB and Information Model
Includes model references, properties, operations and events (status,configuration,events) in one JsonSchema file
Technical Hint:
Use the Eclipse Ditto generator as a basis as help on the JsonSchema generation
Ditto needs to be able to access models from Vorto in DRAFT mode to simplify development
The text was updated successfully, but these errors were encountered: