Skip to content

Commit

Permalink
Merge pull request #210 from thingweb/egekorkan-patch-1
Browse files Browse the repository at this point in the history
update multiple of definition
  • Loading branch information
egekorkan authored Nov 17, 2021
2 parents dd76326 + a02840a commit aa126ba
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 34 deletions.
24 changes: 7 additions & 17 deletions packages/core/td-schema-full.json
Original file line number Diff line number Diff line change
Expand Up @@ -226,14 +226,7 @@
"minimum": 0
},
"multipleOf": {
"oneOf": [
{
"type": "integer"
},
{
"type": "number"
}
]
"$ref": "#/definitions/multipleOfDefinition"
},
"properties": {
"additionalProperties": {
Expand All @@ -251,6 +244,10 @@
"readOnly","writeOnly"
]
},
"multipleOfDefinition": {
"type": ["integer","number"],
"exclusiveMinimum": 0
},
"form_element_property": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -611,14 +608,7 @@
"minimum": 0
},
"multipleOf": {
"oneOf": [
{
"type": "integer"
},
{
"type": "number"
}
]
"$ref": "#/definitions/multipleOfDefinition"
},
"properties": {
"additionalProperties": {
Expand Down Expand Up @@ -1292,4 +1282,4 @@
"@context"
],
"additionalProperties": true
}
}
24 changes: 7 additions & 17 deletions packages/core/td-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,14 +207,7 @@
"minimum": 0
},
"multipleOf": {
"oneOf": [
{
"type": "integer"
},
{
"type": "number"
}
]
"$ref": "#/definitions/multipleOfDefinition"
},
"properties": {
"additionalProperties": {
Expand Down Expand Up @@ -246,6 +239,10 @@
}
}
},
"multipleOfDefinition": {
"type": ["integer","number"],
"exclusiveMinimum": 0
},
"form_element_property": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -598,14 +595,7 @@
"minimum": 0
},
"multipleOf": {
"oneOf": [
{
"type": "integer"
},
{
"type": "number"
}
]
"$ref": "#/definitions/multipleOfDefinition"
},
"properties": {
"additionalProperties": {
Expand Down Expand Up @@ -1269,4 +1259,4 @@
"@context"
],
"additionalProperties": true
}
}

0 comments on commit aa126ba

Please sign in to comment.