Skip to content

Code Artifact

A piece of software that can be executed by a Compute service. It is a subclass of SoftwareResource.

  • NOTE: this is an abstract class and should not be instantiated directly

URI: gx:CodeArtifact

 classDiagram
    class CodeArtifact
    click CodeArtifact href "../CodeArtifact"
      SoftwareResource <|-- CodeArtifact
        click SoftwareResource href "../SoftwareResource"


      CodeArtifact <|-- ComputeFunctionTemplate
        click ComputeFunctionTemplate href "../ComputeFunctionTemplate"
      CodeArtifact <|-- Image
        click Image href "../Image"


      CodeArtifact : aggregationOfResources




    CodeArtifact --> "*" String : aggregationOfResources
    click String href "../String"


      CodeArtifact : buildDate




    CodeArtifact --> "0..1" Datetime : buildDate
    click Datetime href "../Datetime"


      CodeArtifact : checkSum




    CodeArtifact --> "0..1" CheckSum : checkSum
    click CheckSum href "../CheckSum"


      CodeArtifact : copyrightOwnedBy




    CodeArtifact --> "1..*" String : copyrightOwnedBy
    click String href "../String"


      CodeArtifact : description




    CodeArtifact --> "0..1" String : description
    click String href "../String"


      CodeArtifact : license




    CodeArtifact --> "1..*" String : license
    click String href "../String"


      CodeArtifact : name




    CodeArtifact --> "0..1" String : name
    click String href "../String"


      CodeArtifact : patchLevel




    CodeArtifact --> "0..1" String : patchLevel
    click String href "../String"


      CodeArtifact : resourcePolicy




    CodeArtifact --> "1..*" String : resourcePolicy
    click String href "../String"


      CodeArtifact : signature




    CodeArtifact --> "0..1" Signature : signature
    click Signature href "../Signature"


      CodeArtifact : version




    CodeArtifact --> "0..1" String : version
    click String href "../String"


Inheritance

Slots

Name Cardinality and Range Description Inheritance
checkSum 0..1
CheckSum
Details on checksum of the software SoftwareResource
signature 0..1
Signature
Details with respect to signature of the software SoftwareResource
version 0..1
xsd:string
Version of the software SoftwareResource
patchLevel 0..1
xsd:string
Software specific patch number describing patch level of the software SoftwareResource
buildDate 0..1
xsd:dateTime
Date and time the software was build, formated according to ISO 8601 (UTC - 2... SoftwareResource
copyrightOwnedBy 1..*
xsd:string or 
LegalPerson or 
xsd:string
A list of copyright owners either as a free form string or as resolvable link... VirtualResource
license 1..*
xsd:string or 
SPDX or 
uri
A list of SPDX identifiers or URL to document VirtualResource
resourcePolicy 1..*
xsd:string
A list of policy expressed using a DSL (e VirtualResource
aggregationOfResources *
xsd:string or 
Resource
A resolvable link of resources related to the resource and that can exist ind... Resource
name 0..1
xsd:string
A human readable name of the entity GaiaXEntity
description 0..1
xsd:string
A free text description of the entity GaiaXEntity

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/gaia-x/development#code-resource

LinkML Source

Direct

name: CodeArtifact
description: A piece of software that can be executed by a Compute service. It is
  a subclass of SoftwareResource.
title: Code Artifact
from_schema: https://w3id.org/gaia-x/development#code-resource
is_a: SoftwareResource
abstract: true

Induced

name: CodeArtifact
description: A piece of software that can be executed by a Compute service. It is
  a subclass of SoftwareResource.
title: Code Artifact
from_schema: https://w3id.org/gaia-x/development#code-resource
is_a: SoftwareResource
abstract: true
attributes:
  checkSum:
    name: checkSum
    description: Details on checksum of the software.
    from_schema: https://w3id.org/gaia-x/development#resource
    rank: 1000
    alias: checkSum
    owner: CodeArtifact
    domain_of:
    - SoftwareResource
    range: CheckSum
  signature:
    name: signature
    description: Details with respect to signature of the software.
    from_schema: https://w3id.org/gaia-x/development#resource
    rank: 1000
    alias: signature
    owner: CodeArtifact
    domain_of:
    - SoftwareResource
    range: Signature
  version:
    name: version
    description: Version of the software.
    from_schema: https://w3id.org/gaia-x/development#resource
    rank: 1000
    alias: version
    owner: CodeArtifact
    domain_of:
    - SoftwareResource
    range: string
  patchLevel:
    name: patchLevel
    description: Software specific patch number describing patch level of the software.
    title: Patch level
    from_schema: https://w3id.org/gaia-x/development#resource
    rank: 1000
    alias: patchLevel
    owner: CodeArtifact
    domain_of:
    - SoftwareResource
    range: string
  buildDate:
    name: buildDate
    description: Date and time the software was build, formated according to ISO 8601
      (UTC - 24 hours).
    title: Build Date
    from_schema: https://w3id.org/gaia-x/development#resource
    rank: 1000
    alias: buildDate
    owner: CodeArtifact
    domain_of:
    - SoftwareResource
    range: datetime
  copyrightOwnedBy:
    name: copyrightOwnedBy
    description: A list of copyright owners either as a free form string or as resolvable
      link to Gaia-X Credential of participants. A copyright owner is a person or
      organization that has the right to exploit the resource. Copyright owner does
      not necessarily refer to the author of the resource, who is a natural person
      and may differ from copyright owner.
    title: copyright owned by
    from_schema: https://w3id.org/gaia-x/development#resource
    rank: 1000
    alias: copyrightOwnedBy
    owner: CodeArtifact
    domain_of:
    - VirtualResource
    range: string
    required: true
    multivalued: true
    any_of:
    - range: LegalPerson
    - range: string
  license:
    name: license
    description: A list of SPDX identifiers or URL to document.
    from_schema: https://w3id.org/gaia-x/development#resource
    rank: 1000
    alias: license
    owner: CodeArtifact
    domain_of:
    - VirtualResource
    range: string
    required: true
    multivalued: true
    any_of:
    - range: SPDX
    - range: uri
  resourcePolicy:
    name: resourcePolicy
    description: 'A  list of policy expressed using a DSL (e.g., Rego or ODRL) (access
      control, throttling, usage, retention, ...). If there is no specified usage
      policy constraints on the VirtualResource, the  policy should express a simple
      default: allow intent'
    from_schema: https://w3id.org/gaia-x/development#resource
    rank: 1000
    alias: resourcePolicy
    owner: CodeArtifact
    domain_of:
    - VirtualResource
    range: string
    required: true
    multivalued: true
  aggregationOfResources:
    name: aggregationOfResources
    description: A resolvable link of resources related to the resource and that can
      exist independently of it.
    title: aggregation of
    from_schema: https://w3id.org/gaia-x/development#resource
    alias: aggregationOfResources
    owner: CodeArtifact
    domain_of:
    - ServiceOffering
    - Resource
    - PhysicalResource
    range: string
    required: false
    multivalued: true
    any_of:
    - range: Resource
  name:
    name: name
    description: A human readable name of the entity.
    title: name
    from_schema: http://w3id.org/gaia-x/gx-trust-framework
    rank: 1000
    slot_uri: https_schema:name
    alias: name
    owner: CodeArtifact
    domain_of:
    - GaiaXEntity
    range: string
    required: false
  description:
    name: description
    description: A free text description of the entity.
    title: description
    from_schema: http://w3id.org/gaia-x/gx-trust-framework
    rank: 1000
    slot_uri: https_schema:description
    alias: description
    owner: CodeArtifact
    domain_of:
    - GaiaXEntity
    - DataProduct
    - Measure
    range: string
    required: false