swagger: "2.0" definitions: KnowledgeAsset: type: object discriminator: _class properties: _class : type: string assetId: type: string xml: namespace: 'http://www.w3.org/2001/XMLSchema' secondaryId: type: array items: $ref: '../id/id.yaml#/definitions/StructuredIdentifier' minItems: 0 xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/id' formalType: type: array items: $ref: '../id/id.yaml#/definitions/ControlledTerm' minItems: 0 xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/id' formalCategory: type: array items: $ref: '../id/id.yaml#/definitions/ControlledTerm' minItems: 0 xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/id' label: type: string xml: namespace: 'http://www.w3.org/2001/XMLSchema' description: type: string xml: namespace: 'http://www.w3.org/2001/XMLSchema' memberOf: type: array items: type: string minItems: 0 xml: namespace: 'http://www.w3.org/2001/XMLSchema' annotation: type: array items: $ref: '#/definitions/Annotation' minItems: 0 xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/surrogate' association: type: array items: $ref: '#/definitions/Related' minItems: 0 xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/surrogate' carriers: type: array items: $ref: '#/definitions/KnowledgeArtifact' minItems: 0 xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/surrogate' surrogates: type: array items: $ref: '#/definitions/KnowledgeArtifact' minItems: 0 xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/surrogate' createdOn: type: string xml: namespace: 'http://www.w3.org/2001/XMLSchema' required: - _class xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/surrogate' Annotation: type: object discriminator: _class properties: _class : type: string ref: $ref: '../id/id.yaml#/definitions/ControlledTerm' xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/id' description: type: string xml: namespace: 'http://www.w3.org/2001/XMLSchema' rel:__TYPE__: $ref: '../id/id.yaml#/definitions/ControlledTerm' xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/id' rel: $ref: '../id/id.yaml#/definitions/ControlledTerm' xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/id' target: type: string xml: namespace: 'http://www.w3.org/2001/XMLSchema' required: - _class xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/surrogate' KnowledgeArtifact: type: object discriminator: _class properties: _class : type: string artifactId: type: string xml: namespace: 'http://www.w3.org/2001/XMLSchema' secondaryId: type: array items: $ref: '../id/id.yaml#/definitions/StructuredIdentifier' minItems: 0 xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/id' title: type: array items: type: string minItems: 0 xml: namespace: 'http://www.w3.org/2001/XMLSchema' description: type: string xml: namespace: 'http://www.w3.org/2001/XMLSchema' locator: type: array items: type: string minItems: 0 xml: namespace: 'http://www.w3.org/2001/XMLSchema' expressionCategory: $ref: '#/definitions/ArtifactCategory' xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/surrogate' representation: $ref: '#/definitions/KnowledgeExpression' xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/surrogate' createdOn: type: string xml: namespace: 'http://www.w3.org/2001/XMLSchema' lastModifiedOn: type: string xml: namespace: 'http://www.w3.org/2001/XMLSchema' establishedOn: type: string xml: namespace: 'http://www.w3.org/2001/XMLSchema' status: $ref: '#/definitions/PublicationStatus' xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/surrogate' annotation: type: array items: $ref: '#/definitions/Annotation' minItems: 0 xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/surrogate' association: $ref: '#/definitions/Related' xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/surrogate' memberOf: type: array items: type: string minItems: 0 xml: namespace: 'http://www.w3.org/2001/XMLSchema' required: - _class xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/surrogate' KnowledgeExpression: type: object discriminator: _class properties: _class : type: string language: $ref: '../id/id.yaml#/definitions/ControlledTerm' xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/id' lexicon: type: array items: $ref: '../id/id.yaml#/definitions/ControlledTerm' minItems: 0 xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/id' profile: $ref: '../id/id.yaml#/definitions/ControlledTerm' xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/id' serialization: $ref: '../id/id.yaml#/definitions/ControlledTerm' xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/id' format: $ref: '../id/id.yaml#/definitions/ControlledTerm' xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/id' charset: $ref: '../id/id.yaml#/definitions/ControlledTerm' xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/id' encoding: $ref: '../id/id.yaml#/definitions/ControlledTerm' xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/id' localization: type: array items: $ref: '../id/id.yaml#/definitions/ControlledTerm' minItems: 0 xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/id' logic: $ref: '../id/id.yaml#/definitions/ControlledTerm' xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/id' role: $ref: '../id/id.yaml#/definitions/ControlledTerm' xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/id' subLanguage: type: array items: $ref: '#/definitions/KnowledgeExpression' minItems: 0 xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/surrogate' required: - _class xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/surrogate' Related: type: object discriminator: _class properties: _class : type: string rel: $ref: '../id/id.yaml#/definitions/ControlledTerm' xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/id' ref: type: string xml: namespace: 'http://www.w3.org/2001/XMLSchema' name: type: string xml: namespace: 'http://www.w3.org/2001/XMLSchema' refType: type: array items: $ref: '../id/id.yaml#/definitions/ControlledTerm' minItems: 0 xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/id' refLang: $ref: '../id/id.yaml#/definitions/MIMECode' xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/id' required: - _class xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/surrogate' PublicationStatus: type: string enum: - ARCHIVED - PUBLISHED - PRE_PUBLISHED - DRAFT - UNPUBLISHED xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/surrogate' ArtifactCategory: type: string enum: - COLLECTION - DATASET - EVENT - IMAGE - INTERACTIVE_RESOURCE - MOVING_IMAGE - PHYSICAL_OBJECT - SERVICE - SOFTWARE - SOUND - STILL_IMAGE - TEXT xml: namespace: 'https://www.omg.org/spec/API4KP/20230201/surrogate'