-
Couldn't load subscription status.
- Fork 9
Open
Labels
Part1Needs to be discussed in Part1Needs to be discussed in Part1aas-coreneeds to be discussed with aas-coreneeds to be discussed with aas-coreenhancementNew feature or requestNew feature or request
Milestone
Description
What?
The named constraints do not appear in the JSON Schema or Part 1 OpenAPI file:
Constraint AASd-117: idShort of non-identifiable Referables not being a direct child of a SubmodelElementList shall be specified.
Constraint AASd-120: idShort of submodel elements being a direct child of a SubmodelElementList shall not be specified.
How?
For instance by changing the OpenAPI declaration to:
SubmodelElementCollection:
allOf:
- $ref: '#/components/schemas/AbstractSubmodelElement'
- properties:
modelType:
type: string
pattern: ^SubmodelElementCollection$
value:
type: array
items:
allOf:
- $ref: '#/components/schemas/SubmodelElement'
- required:
- idShort
minItems: 1
SubmodelElementList:
allOf:
- $ref: '#/components/schemas/AbstractSubmodelElement'
- properties:
modelType:
type: string
pattern: ^SubmodelElementList$
orderRelevant:
type: boolean
value:
type: array
items:
allOf:
- $ref: '#/components/schemas/SubmodelElement'
- not:
required:
- idShort
minItems: 1
semanticIdListElement:
$ref: '#/components/schemas/Reference'
typeValueListElement:
$ref: '#/components/schemas/AasSubmodelElements'
valueTypeListElement:
$ref: '#/components/schemas/DataTypeDefXsd'
required: - typeValueListElement
Metadata
Metadata
Assignees
Labels
Part1Needs to be discussed in Part1Needs to be discussed in Part1aas-coreneeds to be discussed with aas-coreneeds to be discussed with aas-coreenhancementNew feature or requestNew feature or request