Skip to content

Commit

Permalink
chore(testing): sync assertions.csv with the current assertions in th…
Browse files Browse the repository at this point in the history
…e spec
  • Loading branch information
egekorkan committed Aug 18, 2022
1 parent 883f222 commit be7404d
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions testing/assertions.csv
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"privacy-essential-metadata-only","null","Only the amount of information needed for the level of authorization and the use case SHOULD be provided in a TD."
"privacy-id-metadata","null","The value of the id of a TD SHOULD NOT contain metadata describing the Thing or from the TD itself."
"privacy-immutable-id-as-property","null","Ideally, any required immutable identifiers SHOULD only be made available via affordances, such as a property, whose value can only be obtained after appropriate authentication and authorization, and managed separately from the TD identifier."
"privacy-mutable-identifiers","null","All identifiers used in a TD SHOULD be mutable, and in particular there should be a mechanism to update the id of a Thing when necessary."
"privacy-mutable-identifiers","null","All identifiers used in a TD SHOULD be mutable, and in particular there SHOULD be a mechanism to update the id of a Thing when necessary."
"privacy-temp-id-metadata","null","Any temporary ID generated to manage TDs, for example an ID for a database or directory service, SHOULD NOT contain metadata describing the Thing or from the TD itself."
"sec-body-name-json-pointer","null","When used in the context of a body security information location, the value of name MUST be in the form of a JSON pointer [[!RFC6901]] relative to the root of the input DataSchema for each interaction it is used with."
"sec-body-name-json-pointer-array","null","The JSON pointer used in the body locator MAY use the ""-"" character to indicate a non-existent array element when it is necessary to insert an element after the last element of an existing array."
Expand Down Expand Up @@ -278,15 +278,15 @@
"td-vocab-cancellation--EventAffordance","null","cancellationDefines any data that needs to be passed to cancel a subscription, e.g., a specific message to remove a Webhook.optionalDataSchema"
"td-vocab-const--DataSchema","null","constProvides a constant value.optionalany type"
"td-vocab-contentCoding--Form","null","contentCodingContent coding values indicate an encoding transformation that has been or can be applied to a representation. Content codings are primarily used to allow a representation to be compressed or otherwise usefully transformed without losing the identity of its underlying media type and without loss of information. Examples of content coding include ""gzip"", ""deflate"", etc. .optionalstring"
"td-vocab-contentEncoding--StringSchema","null","contentEncodingSpecifies the encoding used to store the contents, as specified in RFC 2054.optionalstring (e.g., 7bit, 8bit, binary, quoted-printable, or base64)"
"td-vocab-contentMediaType--StringSchema","null","contentMediaTypeSpecifies the MIME type of the contents of a string value, as described in RFC 2046.optionalstring (e.g., image/png, or audio/mpeg)"
"td-vocab-contentEncoding--StringSchema","null","contentEncodingSpecifies the encoding used to store the contents, as specified in [[RFC2045]] (Section 6.1) and [[RFC4648]].optionalstring (e.g., 7bit, 8bit, binary, quoted-printable, base16, base32, or base64)"
"td-vocab-contentMediaType--StringSchema","null","contentMediaTypeSpecifies the MIME type of the contents of a string value, as described in [[RFC2046]].optionalstring (e.g., image/png, or audio/mpeg)"
"td-vocab-contentType--AdditionalExpectedResponse","null","contentTypeAssign a content type based on a media type (e.g., text/plain) and potential parameters (e.g., charset=utf-8) for the media type [RFC2046].with defaultstring"
"td-vocab-contentType--ExpectedResponse","null","contentTypeAssign a content type based on a media type (e.g., text/plain) and potential parameters (e.g., charset=utf-8) for the media type [RFC2046].mandatorystring"
"td-vocab-contentType--Form","null","contentTypeAssign a content type based on a media type (e.g., text/plain) and potential parameters (e.g., charset=utf-8) for the media type [RFC2046].with defaultstring"
"td-vocab-created--Thing","null","createdProvides information when the TD instance was created.optionaldateTime"
"td-vocab-data--EventAffordance","null","dataDefines the data schema of the Event instance messages pushed by the Thing.optionalDataSchema"
"td-vocab-dataResponse--EventAffordance","null","dataResponseDefines the data schema of the Event response messages sent by the consumer in a response to a data message.optionalDataSchema"
"td-vocab-default--DataSchema","null","defaultSupply a default value. The value should validate against the data schema in which it resides.optionalany type"
"td-vocab-default--DataSchema","null","defaultSupply a default value. The value SHOULD validate against the data schema in which it resides.optionalany type"
"td-vocab-description--DataSchema","null","descriptionProvides additional (human-readable) information based on a default language.optionalstring"
"td-vocab-description--InteractionAffordance","null","descriptionProvides additional (human-readable) information based on a default language.optionalstring"
"td-vocab-description--SecurityScheme","null","descriptionProvides additional (human-readable) information based on a default language.optionalstring"
Expand Down Expand Up @@ -317,7 +317,7 @@
"td-vocab-in--BearerSecurityScheme","null","inSpecifies the location of security authentication information. with defaultstring (one of header, query, body, cookie, or auto)"
"td-vocab-in--DigestSecurityScheme","null","inSpecifies the location of security authentication information. with defaultstring (one of header, query, body, cookie, or auto)"
"td-vocab-input--ActionAffordance","null","inputUsed to define the input data schema of the Action.optionalDataSchema"
"td-vocab-instance--VersionInfo","null","instanceProvides a version indicator of this TD. instance.mandatorystring"
"td-vocab-instance--VersionInfo","null","instanceProvides a version indicator of this TD. mandatorystring"
"td-vocab-items--ArraySchema","null","itemsUsed to define the characteristics of an array.optionalDataSchema or Array of DataSchema"
"td-vocab-links--Thing","null","linksProvides Web links to arbitrary resources that relate to the specified Thing Description.optionalArray of Link"
"td-vocab-maxItems--ArraySchema","null","maxItemsDefines the maximum number of items that have to be in the array.optionalunsignedInt"
Expand All @@ -328,7 +328,7 @@
"td-vocab-minLength--StringSchema","null","minLengthSpecifies the minimum length of a string. Only applicable for associated string types.optionalunsignedInt"
"td-vocab-minimum--IntegerSchema","null","minimumSpecifies a minimum numeric value, representing an inclusive lower limit. Only applicable for associated number or integer types.optionalinteger"
"td-vocab-minimum--NumberSchema","null","minimumSpecifies a minimum numeric value, representing an inclusive lower limit. Only applicable for associated number or integer types.optionaldouble"
"td-vocab-model--VersionInfo","null","modelProvides a version indicator of the underlying TM. instance.optionalstring"
"td-vocab-model--VersionInfo","null","modelProvides a version indicator of the underlying TM. optionalstring"
"td-vocab-modified--Thing","null","modifiedProvides information when the TD instance was last modified.optionaldateTime"
"td-vocab-multipleOf--IntegerSchema","null","multipleOfSpecifies the multipleOf value number. The value must strictly greater than 0. Only applicable for associated number or integer types.optionalinteger"
"td-vocab-multipleOf--NumberSchema","null","multipleOfSpecifies the multipleOf value number. The value must strictly greater than 0. Only applicable for associated number or integer types.optionaldouble"
Expand Down Expand Up @@ -368,7 +368,7 @@
"td-vocab-readOnly--DataSchema","null","readOnlyBoolean value that is a hint to indicate whether a property interaction / value is read only (=true) or not (=false).with defaultboolean"
"td-vocab-refresh--OAuth2SecurityScheme","null","refreshURI of the refresh server.optionalanyURI"
"td-vocab-rel--Link","null","relA link relation type identifies the semantics of a link.optionalstring"
"td-vocab-required--ObjectSchema","null","requiredDefines which members of the object type are mandatory.optionalArray of string"
"td-vocab-required--ObjectSchema","null","requiredDefines which members of the object type are mandatory, i.e. which members are mandatory in the payload that is to be sent (e.g. input of invokeaction, writeproperty) and what members will be definitely delivered in the payload that is being received (e.g. output of invokeaction, readproperty)optionalArray of string"
"td-vocab-response--Form","null","responseThis optional term can be used if, e.g., the output communication metadata differ from input metadata (e.g., output contentType differ from the input contentType). The response name contains metadata that is only valid for the primary response messages.optionalExpectedResponse"
"td-vocab-safe--ActionAffordance","null","safeSignals if the Action is safe (=true) or not. Used to signal if there is no internal state (cf. resource state) is changed when invoking an Action. In that case responses can be cached as example.with defaultboolean"
"td-vocab-schema--AdditionalExpectedResponse","null","schemaUsed to define the output data schema for an additional response if it differs from the default output data schema. Rather than a DataSchema object, the name of a previous definition given in a schemaDefinitions map must be used.optionalstring"
Expand All @@ -391,7 +391,7 @@
"td-vocab-subprotocol--Form","null","subprotocolIndicates the exact mechanism by which an interaction will be accomplished for a given protocol when there are multiple options. For example, for HTTP and Events, it indicates which of several available mechanisms should be used for asynchronous notifications such as long polling (longpoll), WebSub [websub] (websub), Server-Sent Events (sse) [html] (also known as EventSource). Please note that there is no restriction on the subprotocol selection and other mechanisms can also be announced by this subprotocol term.optionalstring (e.g., longpoll, websub, or sse)"
"td-vocab-subscription--EventAffordance","null","subscriptionDefines data that needs to be passed upon subscription, e.g., filters or message format for setting up Webhooks.optionalDataSchema"
"td-vocab-success--AdditionalExpectedResponse","null","successSignals if an additional response should not be considered an error.with defaultboolean"
"td-vocab-support--Thing","null","supportProvides information about the TD maintainer as URI scheme (e.g., mailto [RFC6068], tel [RFC3966], https).optionalanyURI"
"td-vocab-support--Thing","null","supportProvides information about the TD maintainer as URI scheme (e.g., mailto [[RFC6068]], tel [[RFC3966]], https [[RFC9112]]).optionalanyURI"
"td-vocab-synchronous--ActionAffordance","null","synchronousIndicates whether the action is synchronous (=true) or not. A synchronous action means that the response of action contains all the information about the result of the action and no further querying about the status of the action is needed. Lack of this keyword means that no claim on the synchronicity of the action can be made.optionalboolean"
"td-vocab-title--DataSchema","null","titleProvides a human-readable title (e.g., display a text for UI representation) based on a default language.optionalstring"
"td-vocab-title--InteractionAffordance","null","titleProvides a human-readable title (e.g., display a text for UI representation) based on a default language.optionalstring"
Expand Down Expand Up @@ -423,9 +423,10 @@
"thing-model-td-generation-processor-required","null","All required interactions (not listed in tm:optional) MUST be taken over to the Partial TD instance."
"thing-model-td-generation-processor-type","null","The tm:ThingModel value of the top-level @type MUST be removed in the Partial TD instance."
"tm-compose-instanceName","null","Optionally an instanceName MAY be provided to associate an individual name to the composed (sub-) Thing Model."
"tm-compose-name-collision","null","To avoid name collisions of the sub/child interaction names SHOULD rename the JSON name to the instanceName followed with '_' and the interaction name of the sub/child Thing Model."
"tm-compose-name-collision","null","Thereby the generation process MUST avoid possible name collisions."
"tm-compose-submodel","null","If it is desired to provide information that a Thing Model consists of one or more (sub-)Thing Models, the links entries MUST use the ""rel"":""tm:submodel"" that targets to the (sub-) Thing Models."
"tm-context-requirement","null","Additionally, in order to identify it as a JSON-LD document, Thing Model definitions MUST use the keyword @context at top level with same rules as a Thing Description."
"tm-derivation-validity","null","When a Thing Descriptions is instantiated by relying on a Thing Model, it SHOULD be valid according to that Thing Model."
"tm-extend","null","When a Thing Model extends another Thing Model, at least one links entry with ""rel"":""tm:extends"" that targets a Thing Model that is be extended MUST be used."
"tm-identification","null","Thing Model definitions MUST use the keyword @type at top level and a value of type string or array that equals or respectively contains tm:ThingModel."
"tm-overwrite-interaction","null","A Thing Model SHOULD NOT overwrite the JSON names defined within the properties, actions, and/or events Map of the extended Thing Model."
Expand Down

0 comments on commit be7404d

Please sign in to comment.