94509
D-28359
Quality | Type | Required | Description |
---|---|---|---|
title | string | yes | A short summary to be displayed in search results, etc. |
version | string | yes | The incremental version of the definition, format TBD |
copyright | string | yes | Link to text or embedded text containing a copyright notice |
license | string | yes | Link to text or embedded text containing license terms |
Quality | Type | Required | Description |
---|---|---|---|
namespace | map | no | Defines short names mapped to namespace URIs, to be used as identifier prefixes |
defaultNamespace | string | no | Identifies one of the prefixes in the namespace map to be used as a default in resolving identifiers |
Quality | Type | Description |
---|---|---|
description | text | long text (no constraints) |
label | text | short text (no constraints) |
$comment | text | source code comments only, no semantics |
sdfRef | sdf-pointer | (see |
sdfRequired | pointer-list | (see |
Quality | Type | Description |
---|---|---|
type | "number" / "string" / "boolean" / "integer" / "array" / "object" | JSON data type (note 1) |
const | allowed value | specifies a constant value for a data item or property |
default | allowed value | specifies the default value for initialization |
minimum | number | (number) lower limit of value |
maximum | number | (number) upper limit of value |
exclusiveMinimum | number or boolean (jso draft 7/4) | (number) lower limit of value |
exclusiveMaximum | number or boolean (jso draft 7/4) | (number) lower limit of value |
multipleOf | number | (number) resolution of the number [NEEDED?] |
minLength | integer | (string) shortest length string in octets |
maxLength | integer | (string) longest length string in octets |
pattern | string | (string) regular expression to constrain a string pattern |
format | "date-time" / "date" / "time" / "uri" / "uri-reference" / "uuid" | (string) JSON Schema formats as per |
minItems | number | (array) Minimum number of items in array |
maxItems | number | (array) Maximum number of items in array |
uniqueItems | boolean | (array) if true, requires items to be all different |
items | (subset of common/data qualities; see |
(array) constraints on array items |
required | array of strings | (object) names of properties (note 2) that are required in the JSON map ("object") |
properties | named set of data qualities | (object) entries allowed for the JSON map ("object") |
Quality | Type | Description | Default |
---|---|---|---|
(common) |
|
||
unit | string | SenML unit name as per |
N/A |
scaleMinimum | number | lower limit of value in units given by unit | N/A |
scaleMaximum | number | upper limit of value in units given by unit | N/A |
readable | boolean | Reads are allowed | true |
writable | boolean | Writes are allowed | true |
observable | boolean | flag to indicate asynchronous notification is available | true |
nullable | boolean | indicates a null value is available for this type | true |
contentFormat | string | content type (IANA media type string plus parameters), encoding | N/A |
sdfType | string ( |
sdfType enumeration (extensible) | N/A |
sdfChoice | named set of data qualities | named alternatives | N/A |
enum | array of strings | abbreviation for string-valued named alternatives | N/A |
sdfType | Description | type | JSON Representation |
---|---|---|---|
byte-string | A sequence of zero or more bytes | string | base64url without padding ( |
unix-time | A point in civil time (note 1) | number | POSIX time ( |
Quality | Type | Description |
---|---|---|
(common) |
|
|
sdfProperty | property | zero or more named property definitions for this object |
sdfAction | action | zero or more named action definitions for this object |
sdfEvent | event | zero or more named event definitions for this object |
sdfData | named-sdq | zero or more named data type definitions that might be used in the above |
Quality | Type | Description |
---|---|---|
(common) |
|
|
sdfInputData | map | data qualities of the input data for an Action |
sdfOutputData | map | data qualities of the output data for an Action |
sdfData | named-sdq | zero or more named data type definitions that might be used in the above |
Quality | Type | Description |
---|---|---|
(common) |
|
|
sdfOutputData | map | data qualities of the output data for an Event |
sdfData | named-sdq | zero or more named data type definitions that might be used in the above |
Quality | Type | Description |
---|---|---|
(common) |
|
|
sdfThing | thing | |
sdfObject | object |
02420