Skip to content
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

data type changes #101

Merged
merged 2 commits into from
Jan 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions sdf-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -322,13 +322,7 @@
},
"enum": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"type": "number"
},
"minitems": 1
}
"minItems": 1
},
"const": {
"oneOf": [
Expand Down
10 changes: 5 additions & 5 deletions sdf.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ Declaration
"value": {
"type": "string",
"enum": [
{ "on":1 },
{ "off":0 }
"on",
"off"
]
}
},
Expand Down Expand Up @@ -376,7 +376,7 @@ odmData is used for Action parameters, for Event data, and for reusable constrai
|minimum|number|no|lower limit of value in the representation format|
|maximum|number|no|upper limit of value in the representation format|
|multipleOf|number|no|indicates the resolution of the number in representation format|
|enum|array of map containing {string:number}|no|enumeration constraint|
|enum|array of any type|no|enumeration constraint|
|pattern|string|no|regular expression to constrain a string pattern|
|format|string|no|JSON Schema formats| N/A|
|minLength|integer|no|shortest length string in octets|
Expand Down Expand Up @@ -408,8 +408,8 @@ odmData may define or contain the following ODM types:
"value": {
"type": "string",
"enum": [
{ "on":1 },
{ "off":0 }
"on",
"off"
]
}
},
Expand Down