forked from asyncapi/modelina
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix_auto_implemnt_example
- Loading branch information
Showing
7 changed files
with
85 additions
and
7 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
{ | ||
"$id": "Address", | ||
"description": "This object contains all types of MetaModel generations", | ||
"type": "object", | ||
"properties": { | ||
"street_name": { | ||
"type": "string" | ||
}, | ||
"house_number": { | ||
"type": "number" | ||
}, | ||
"marriage": { | ||
"type": "boolean", | ||
"description": "Status if marriage live in given house" | ||
}, | ||
"members": { | ||
"oneOf": [ | ||
{ | ||
"type": "string" | ||
}, | ||
{ | ||
"type": "number" | ||
}, | ||
{ | ||
"type": "boolean" | ||
} | ||
] | ||
}, | ||
"array_type": { | ||
"type": "array", | ||
"items": [ | ||
{ | ||
"type": "string" | ||
}, | ||
{ | ||
"type": "number" | ||
} | ||
] | ||
}, | ||
"nestedObject": { | ||
"type": "object", | ||
"properties": { | ||
"test": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"enumTest": { | ||
"enum": ["test", "test2"] | ||
}, | ||
"houseType": { | ||
"$ref": "#/$defs/housing-types" | ||
}, | ||
"roofType": { | ||
"$id": "TypeOfRoof", | ||
"enum": ["tile", "straw", "wood", "metal"] | ||
} | ||
}, | ||
"patternProperties": { | ||
"^S(.?*)test&": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"house_number", | ||
"array_type", | ||
"houseType" | ||
], | ||
"$defs": { | ||
"housing-types": { | ||
"$id": "HousingType", | ||
"enum": ["detached", "terraced", "bungalow", "flat"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters