-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Attributes with array of objects produce incomplete schema #328
Comments
@agougousis Can you try the following?
|
Can you try this?
|
@agougousis The brackets are correct as items is an array of possible types |
I don't remember very well the rules, but in http://jsonschema.net/ (a quick and dirty solution that I use from time to time) when i give the json data as input it gives me the schema without these brackets. |
@agougousis use a + nodes (array, fixed-type)
+ (object)
+ id: 4 (number) |
+1 for the fixed-type fixed - instance of this type structure and values are fixed. This attribute propagates to Nested Member Types. fixed-type - instance of this type structure is fixed, value is not. This attribute does not propagate to Nested Member Types. https://apiblueprint.org/documentation/mson/specification.html#353-type-attribute |
The following part of my text file:
Attributes (object)
Chromista
(string) - The scientific nameKingdom
(string) - The taxonomic rank of the scientific namenoworms, 1603
(string) - Authorship information about the scientific nameBody
Produces this HTML:
The part of schema inside the ""nodes" is missing! Why?
I have also tried to use data structures but the schema remains incomplete.
The text was updated successfully, but these errors were encountered: