ExtensionClass
A structured extension value: a group of extension attributes identified by a URL, for when one extra value is not enough.
- Kind
- Concrete class
- Attributes
- 4, 4 required
In practice
Attributes
4 attributes, 4 of them required by the USDM API schema.
| Attribute | Type | Card. | Definition |
|---|---|---|---|
| idrequired | string | cardinality 1 | The identifier of this object, unique within the file. |
| urlrequired | string | cardinality 1 | No definition in the release. |
| extensionAttributesrequired | ExtensionAttribute | cardinality 1..* | Extension attributes attached to this object, for information the standard does not define. Added by the API; not part of the logical model. |
| instanceTyperequired | string | cardinality 1 | The name of the class, carried by every object in a USDM JSON file. Added by the API; not part of the logical model. |
Smallest valid ExtensionClass
The attributes a JSON file must carry for a ExtensionClass, and the kind of value each takes. This is the shape, with types named in place of values. Everything else in the table above is optional.
ExtensionClass, required attributes only
{
"id": "ExtensionClass_1",
"url": string,
"extensionAttributes": [ExtensionAttribute, …],
"instanceType": "ExtensionClass"
}
Where ExtensionClass is used
These classes hold or point to a ExtensionClass.
- ExtensionAttribute.valueExtensionClassnested
Related classes
Other classes in codes, quantities and extensions: