-
-
Notifications
You must be signed in to change notification settings - Fork 330
Open
Labels
Type: EnhancementcoreproposalInitial discussion of a new idea. A project will be created once a proposal document is created.Initial discussion of a new idea. A project will be created once a proposal document is created.
Description
A schema is either an object or a boolean. What if there was a third option (string) that is a shortcut for $ref
?
So instead of models like this
{
"$id": "https://example.com/schemas/my-model.json",
"properties": {
"foo": {
"$ref": "shared-type1.json"
},
"bar": {
"$ref": "shared-type2.json"
},
"jau":{
"type": "string"
},
"hei":{
"type": "string"
}
}
}
You get
{
"$id": "https://example.com/schemas/my-model.json",
"properties": {
"foo": "shared-type1.json",
"bar": "shared-type2.json",
"jau": "#string",
"hei": "#string"
},
}
stigtsp and haaami01
Metadata
Metadata
Assignees
Labels
Type: EnhancementcoreproposalInitial discussion of a new idea. A project will be created once a proposal document is created.Initial discussion of a new idea. A project will be created once a proposal document is created.
Type
Projects
Status
In Discussion