{
    "$defs": {
        "AccessEntitlementCredential": {
            "additionalProperties": false,
            "description": "Access entitlement to a service, issued by an authorised manager (requires an employee credential).",
            "properties": {
                "channelIds": {
                    "description": "Channel identifiers.",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "delegatable": {
                    "description": "Whether the credential can be the parent of a delegated party credential.",
                    "type": [
                        "boolean",
                        "null"
                    ]
                },
                "hasPolicy": {
                    "description": "ODRL policies under which the credential is considered active. Carried as they are; their content is evaluated by the ODRL component, not by these shapes.",
                    "items": {
                        "$ref": "#/$defs/Any"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "holder": {
                    "$ref": "#/$defs/TrustedDigitalIdentity",
                    "description": "Strongly bound trusted digital identity of the holder able to prove possession of the credential: embedded in full, or referenced (id and digestSRI of its TrustedDigitalIdentityCredential)."
                },
                "id": {
                    "description": "Identifier of the subject (credentialSubject.id), a DID or a URL.",
                    "type": "string"
                },
                "identityAttributes": {
                    "description": "Identity attributes defined by the Trust Scope (attribute-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "identityPermissions": {
                    "description": "Identity permissions defined by the Trust Scope (permission-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "identityRoles": {
                    "description": "Identity roles defined by the Trust Scope (role-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "parentPartyCredential": {
                    "description": "Resolvable link to the parent party credential, whose holder must be the issuer of this credential (delegation chain).",
                    "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "parentPartyCredentialDigest": {
                    "description": "Digest of the resolved parent party credential, ensuring the integrity of the delegation chain.",
                    "pattern": "^sha(256|384|512)-[A-Za-z0-9+/]+={0,2}$",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "service": {
                    "description": "Service the credential applies to.",
                    "type": "string"
                },
                "trustScope": {
                    "description": "Resolvable link to the TrustScopeCredential used to validate the credential.",
                    "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "required": [
                "service",
                "id",
                "holder"
            ],
            "title": "AccessEntitlementCredential",
            "type": "object"
        },
        "Address": {
            "additionalProperties": false,
            "description": "Postal address.",
            "properties": {
                "countryCode": {
                    "description": "ISO 3166-1 alpha-2 country code (for example FR).",
                    "pattern": "^[A-Z]{2}$",
                    "type": "string"
                },
                "countrySubdivisionCode": {
                    "description": "ISO 3166-2 country subdivision code (for example FR-75).",
                    "pattern": "^[A-Z]{2}-[A-Z0-9]{1,3}$",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "locality": {
                    "description": "City or locality.",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "postalCode": {
                    "description": "Postal code.",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "streetAddress": {
                    "description": "Street number and name.",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "required": [
                "countryCode"
            ],
            "title": "Address",
            "type": "object"
        },
        "AdminPartyCredential": {
            "additionalProperties": false,
            "description": "Governance credential of an administrator of a service.",
            "properties": {
                "channelIds": {
                    "description": "Channel identifiers.",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "delegatable": {
                    "description": "Whether the credential can be the parent of a delegated party credential.",
                    "type": [
                        "boolean",
                        "null"
                    ]
                },
                "hasPolicy": {
                    "description": "ODRL policies under which the credential is considered active. Carried as they are; their content is evaluated by the ODRL component, not by these shapes.",
                    "items": {
                        "$ref": "#/$defs/Any"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "holder": {
                    "$ref": "#/$defs/TrustedDigitalIdentity",
                    "description": "Strongly bound trusted digital identity of the holder able to prove possession of the credential: embedded in full, or referenced (id and digestSRI of its TrustedDigitalIdentityCredential)."
                },
                "id": {
                    "description": "Identifier of the subject (credentialSubject.id), a DID or a URL.",
                    "type": "string"
                },
                "identityAttributes": {
                    "description": "Identity attributes defined by the Trust Scope (attribute-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "identityPermissions": {
                    "description": "Identity permissions defined by the Trust Scope (permission-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "identityRoles": {
                    "description": "Identity roles defined by the Trust Scope (role-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "parentPartyCredential": {
                    "description": "Resolvable link to the parent party credential, whose holder must be the issuer of this credential (delegation chain).",
                    "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "parentPartyCredentialDigest": {
                    "description": "Digest of the resolved parent party credential, ensuring the integrity of the delegation chain.",
                    "pattern": "^sha(256|384|512)-[A-Za-z0-9+/]+={0,2}$",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "service": {
                    "description": "Service the credential applies to.",
                    "type": "string"
                },
                "trustScope": {
                    "description": "Resolvable link to the TrustScopeCredential used to validate the credential.",
                    "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "required": [
                "service",
                "id",
                "holder"
            ],
            "title": "AdminPartyCredential",
            "type": "object"
        },
        "Any": {
            "additionalProperties": true,
            "description": "Any JSON value or object (used for ODRL policies, validated by the ODRL component).",
            "title": "Any",
            "type": [
                "null",
                "boolean",
                "object",
                "number",
                "string"
            ]
        },
        "AssertionCredential": {
            "additionalProperties": false,
            "description": "Intent expressed by an actor about a referenced resource: the subject id is the resource, digestSRI ensures that it has not been modified.",
            "properties": {
                "assertionType": {
                    "$ref": "#/$defs/AssertionType",
                    "description": "Type of the assertion expressed (named assertionType: type is the JSON-LD type of the credential subject)."
                },
                "digestSRI": {
                    "description": "Integrity digest of the referenced resource (Verifiable Credentials Data Model v2.0, integrity of related resources). Same term as in the W3C credentials context.",
                    "pattern": "^sha(256|384|512)-[A-Za-z0-9+/]+={0,2}$",
                    "type": "string"
                },
                "humanIdentity": {
                    "$ref": "#/$defs/TrustedDigitalIdentity",
                    "description": "Strongly bound trusted digital identity of the issuer, used to resolve its public key and verify that its controller is a human."
                },
                "id": {
                    "description": "Identifier of the subject (credentialSubject.id), a DID or a URL.",
                    "type": "string"
                },
                "targetType": {
                    "description": "Type of the referenced resource (for example a data usage contract).",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "required": [
                "id",
                "humanIdentity",
                "assertionType",
                "digestSRI"
            ],
            "title": "AssertionCredential",
            "type": "object"
        },
        "AssertionType": {
            "description": "Type of intent expressed by the issuer of the assertion.",
            "enum": [
                "Signature",
                "Consent",
                "Permission",
                "Acceptance",
                "Acknowledgement"
            ],
            "title": "AssertionType",
            "type": "string"
        },
        "ControllerKind": {
            "description": "Kind of controller of a cryptographic digital identity.",
            "enum": [
                "Anonymous",
                "Human",
                "Machine",
                "LegalPerson"
            ],
            "title": "ControllerKind",
            "type": "string"
        },
        "DelegatedSupplierPartyCredential": {
            "additionalProperties": false,
            "description": "Delegation of part of the scope of a supplier to a subcontractor or to an employee: child of the supplier credential, restricted to a subset of its projects.",
            "properties": {
                "delegatable": {
                    "description": "Whether the credential can be the parent of a delegated party credential.",
                    "type": [
                        "boolean",
                        "null"
                    ]
                },
                "hasPolicy": {
                    "description": "ODRL policies under which the credential is considered active. Carried as they are; their content is evaluated by the ODRL component, not by these shapes.",
                    "items": {
                        "$ref": "#/$defs/Any"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "holder": {
                    "$ref": "#/$defs/TrustedDigitalIdentity",
                    "description": "Strongly bound trusted digital identity of the holder able to prove possession of the credential: embedded in full, or referenced (id and digestSRI of its TrustedDigitalIdentityCredential)."
                },
                "id": {
                    "description": "Identifier of the subject (credentialSubject.id), a DID or a URL.",
                    "type": "string"
                },
                "identityAttributes": {
                    "description": "Identity attributes defined by the Trust Scope (attribute-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "identityPermissions": {
                    "description": "Identity permissions defined by the Trust Scope (permission-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "identityRoles": {
                    "description": "Identity roles defined by the Trust Scope (role-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "organizationIdentifier": {
                    "description": "Organisation identifier as defined by the applicable eIDAS rules (for example a LEI or VAT number).",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "parentPartyCredential": {
                    "description": "Resolvable link to the parent party credential, whose holder must be the issuer of this credential (delegation chain).",
                    "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                    "type": "string"
                },
                "parentPartyCredentialDigest": {
                    "description": "Digest of the resolved parent party credential, ensuring the integrity of the delegation chain.",
                    "pattern": "^sha(256|384|512)-[A-Za-z0-9+/]+={0,2}$",
                    "type": "string"
                },
                "projects": {
                    "description": "Projects restricting the scope of a supplier, as defined by the Trust Scope.",
                    "items": {
                        "type": "string"
                    },
                    "type": "array"
                },
                "trustScope": {
                    "description": "Resolvable link to the TrustScopeCredential used to validate the credential.",
                    "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "required": [
                "projects",
                "id",
                "holder",
                "parentPartyCredential",
                "parentPartyCredentialDigest"
            ],
            "title": "DelegatedSupplierPartyCredential",
            "type": "object"
        },
        "EORI": {
            "additionalProperties": false,
            "description": "EORI number.",
            "properties": {
                "eori": {
                    "description": "Economic Operators Registration and Identification number (customs).",
                    "type": "string"
                }
            },
            "required": [
                "eori"
            ],
            "title": "EORI",
            "type": "object"
        },
        "EUID": {
            "additionalProperties": false,
            "description": "European Unique Identifier.",
            "properties": {
                "euid": {
                    "description": "European Unique Identifier (EUID).",
                    "type": "string"
                }
            },
            "required": [
                "euid"
            ],
            "title": "EUID",
            "type": "object"
        },
        "EmployeeCredential": {
            "additionalProperties": false,
            "description": "Credential of an employee of an organisation, issued by its human resources.",
            "properties": {
                "delegatable": {
                    "description": "Whether the credential can be the parent of a delegated party credential.",
                    "type": [
                        "boolean",
                        "null"
                    ]
                },
                "email": {
                    "description": "Email address.",
                    "pattern": "^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,}$",
                    "type": "string"
                },
                "givenName": {
                    "description": "Given name.",
                    "type": "string"
                },
                "hasPolicy": {
                    "description": "ODRL policies under which the credential is considered active. Carried as they are; their content is evaluated by the ODRL component, not by these shapes.",
                    "items": {
                        "$ref": "#/$defs/Any"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "holder": {
                    "$ref": "#/$defs/TrustedDigitalIdentity",
                    "description": "Strongly bound trusted digital identity of the holder able to prove possession of the credential: embedded in full, or referenced (id and digestSRI of its TrustedDigitalIdentityCredential)."
                },
                "id": {
                    "description": "Identifier of the subject (credentialSubject.id), a DID or a URL.",
                    "type": "string"
                },
                "identityAttributes": {
                    "description": "Identity attributes defined by the Trust Scope (attribute-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "identityPermissions": {
                    "description": "Identity permissions defined by the Trust Scope (permission-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "identityRoles": {
                    "description": "Identity roles defined by the Trust Scope (role-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "nationality": {
                    "description": "Nationality (ISO 3166-1 alpha-2).",
                    "pattern": "^[A-Z]{2}$",
                    "type": "string"
                },
                "organizationIdentifier": {
                    "description": "Organisation identifier as defined by the applicable eIDAS rules (for example a LEI or VAT number).",
                    "type": "string"
                },
                "parentPartyCredential": {
                    "description": "Resolvable link to the parent party credential, whose holder must be the issuer of this credential (delegation chain).",
                    "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "parentPartyCredentialDigest": {
                    "description": "Digest of the resolved parent party credential, ensuring the integrity of the delegation chain.",
                    "pattern": "^sha(256|384|512)-[A-Za-z0-9+/]+={0,2}$",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "surname": {
                    "description": "Family name.",
                    "type": "string"
                },
                "trustScope": {
                    "description": "Resolvable link to the TrustScopeCredential used to validate the credential.",
                    "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "required": [
                "email",
                "nationality",
                "organizationIdentifier",
                "givenName",
                "surname",
                "id",
                "holder"
            ],
            "title": "EmployeeCredential",
            "type": "object"
        },
        "LegalParticipant": {
            "additionalProperties": false,
            "description": "Legal person, Gaia-X 22.10 (its legal name is reused by the membership attestation).",
            "properties": {
                "headquarterAddress": {
                    "$ref": "#/$defs/Address",
                    "description": "Headquarters address of the organisation (Gaia-X 22.10)."
                },
                "legalAddress": {
                    "$ref": "#/$defs/Address",
                    "description": "Legal address of the organisation."
                },
                "legalName": {
                    "description": "Legal name of the organisation.",
                    "type": "string"
                },
                "legalRegistrationNumber": {
                    "$ref": "#/$defs/LegalRegistrationNumber",
                    "description": "Registration number of the organisation (Gaia-X 22.10)."
                }
            },
            "required": [
                "legalName",
                "legalRegistrationNumber",
                "headquarterAddress",
                "legalAddress"
            ],
            "title": "LegalParticipant",
            "type": "object"
        },
        "LegalPerson": {
            "additionalProperties": false,
            "description": "Legal person, Gaia-X Loire (compliance through the user agent).",
            "properties": {
                "headquartersAddress": {
                    "$ref": "#/$defs/Address",
                    "description": "Headquarters address of the organisation (Gaia-X Loire)."
                },
                "legalAddress": {
                    "$ref": "#/$defs/Address",
                    "description": "Legal address of the organisation."
                },
                "registrationNumber": {
                    "$ref": "#/$defs/RegistrationNumber",
                    "description": "Registration number of the organisation (use a concrete registration number type)."
                }
            },
            "required": [
                "registrationNumber",
                "legalAddress",
                "headquartersAddress"
            ],
            "title": "LegalPerson",
            "type": "object"
        },
        "LegalPersonPartyCredential": {
            "additionalProperties": false,
            "description": "Credential entitling a legal person to interact with relying parties on behalf of a participant.",
            "properties": {
                "delegatable": {
                    "description": "Whether the credential can be the parent of a delegated party credential.",
                    "type": [
                        "boolean",
                        "null"
                    ]
                },
                "hasPolicy": {
                    "description": "ODRL policies under which the credential is considered active. Carried as they are; their content is evaluated by the ODRL component, not by these shapes.",
                    "items": {
                        "$ref": "#/$defs/Any"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "holder": {
                    "$ref": "#/$defs/TrustedDigitalIdentity",
                    "description": "Strongly bound trusted digital identity of the holder able to prove possession of the credential: embedded in full, or referenced (id and digestSRI of its TrustedDigitalIdentityCredential)."
                },
                "id": {
                    "description": "Identifier of the subject (credentialSubject.id), a DID or a URL.",
                    "type": "string"
                },
                "identityAttributes": {
                    "description": "Identity attributes defined by the Trust Scope (attribute-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "identityPermissions": {
                    "description": "Identity permissions defined by the Trust Scope (permission-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "identityRoles": {
                    "description": "Identity roles defined by the Trust Scope (role-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "organizationIdentifier": {
                    "description": "Organisation identifier as defined by the applicable eIDAS rules (for example a LEI or VAT number).",
                    "type": "string"
                },
                "parentPartyCredential": {
                    "description": "Resolvable link to the parent party credential, whose holder must be the issuer of this credential (delegation chain).",
                    "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "parentPartyCredentialDigest": {
                    "description": "Digest of the resolved parent party credential, ensuring the integrity of the delegation chain.",
                    "pattern": "^sha(256|384|512)-[A-Za-z0-9+/]+={0,2}$",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "trustScope": {
                    "description": "Resolvable link to the TrustScopeCredential used to validate the credential.",
                    "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "required": [
                "organizationIdentifier",
                "id",
                "holder"
            ],
            "title": "LegalPersonPartyCredential",
            "type": "object"
        },
        "LegalRegistrationNumber": {
            "additionalProperties": false,
            "description": "Gaia-X 22.10 registration number (at least one of the numbers).",
            "properties": {
                "eori": {
                    "description": "Economic Operators Registration and Identification number (customs).",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "euid": {
                    "description": "European Unique Identifier (EUID).",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "leiCode": {
                    "description": "Legal Entity Identifier (ISO 17442, 20 characters).",
                    "pattern": "^[0-9A-Z]{18}[0-9]{2}$",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "local": {
                    "description": "Local registration number (for example a French SIREN).",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "taxId": {
                    "description": "Tax identification number.",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "vatID": {
                    "description": "Intra-community VAT number.",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "title": "LegalRegistrationNumber",
            "type": "object"
        },
        "LeiCode": {
            "additionalProperties": false,
            "description": "Legal Entity Identifier.",
            "properties": {
                "countryCode": {
                    "description": "ISO 3166-1 alpha-2 country code (for example FR).",
                    "pattern": "^[A-Z]{2}$",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "leiCode": {
                    "description": "Legal Entity Identifier (ISO 17442, 20 characters).",
                    "pattern": "^[0-9A-Z]{18}[0-9]{2}$",
                    "type": "string"
                }
            },
            "required": [
                "leiCode"
            ],
            "title": "LeiCode",
            "type": "object"
        },
        "LocalRegistrationNumber": {
            "additionalProperties": false,
            "description": "Local registration number.",
            "properties": {
                "local": {
                    "description": "Local registration number (for example a French SIREN).",
                    "type": "string"
                }
            },
            "required": [
                "local"
            ],
            "title": "LocalRegistrationNumber",
            "type": "object"
        },
        "Membership": {
            "additionalProperties": false,
            "description": "Membership of a participant in the dataspace.",
            "properties": {
                "dataspace": {
                    "description": "DID of the dataspace (project) attesting the membership.",
                    "pattern": "^did:[a-z0-9]+:.+$",
                    "type": "string"
                },
                "legalName": {
                    "description": "Legal name of the organisation.",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "member": {
                    "description": "DID of the member participant.",
                    "pattern": "^did:[a-z0-9]+:.+$",
                    "type": "string"
                },
                "profile": {
                    "description": "Rulebook profile applied (for example membership).",
                    "type": "string"
                },
                "rulebookRevision": {
                    "description": "Rulebook revision used for the decision.",
                    "type": "string"
                }
            },
            "required": [
                "member",
                "dataspace",
                "profile",
                "rulebookRevision"
            ],
            "title": "Membership",
            "type": "object"
        },
        "MembershipPartyCredential": {
            "additionalProperties": false,
            "description": "Membership of a trusted digital identity within a Trust Scope (organisation, ecosystem, data space).",
            "properties": {
                "delegatable": {
                    "description": "Whether the credential can be the parent of a delegated party credential.",
                    "type": [
                        "boolean",
                        "null"
                    ]
                },
                "hasPolicy": {
                    "description": "ODRL policies under which the credential is considered active. Carried as they are; their content is evaluated by the ODRL component, not by these shapes.",
                    "items": {
                        "$ref": "#/$defs/Any"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "holder": {
                    "$ref": "#/$defs/TrustedDigitalIdentity",
                    "description": "Strongly bound trusted digital identity of the holder able to prove possession of the credential: embedded in full, or referenced (id and digestSRI of its TrustedDigitalIdentityCredential)."
                },
                "id": {
                    "description": "Identifier of the subject (credentialSubject.id), a DID or a URL.",
                    "type": "string"
                },
                "identityAttributes": {
                    "description": "Identity attributes defined by the Trust Scope (attribute-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "identityPermissions": {
                    "description": "Identity permissions defined by the Trust Scope (permission-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "identityRoles": {
                    "description": "Identity roles defined by the Trust Scope (role-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "parentPartyCredential": {
                    "description": "Resolvable link to the parent party credential, whose holder must be the issuer of this credential (delegation chain).",
                    "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "parentPartyCredentialDigest": {
                    "description": "Digest of the resolved parent party credential, ensuring the integrity of the delegation chain.",
                    "pattern": "^sha(256|384|512)-[A-Za-z0-9+/]+={0,2}$",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "trustScope": {
                    "description": "Resolvable link to the TrustScopeCredential used to validate the credential.",
                    "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "required": [
                "id",
                "holder"
            ],
            "title": "MembershipPartyCredential",
            "type": "object"
        },
        "NaturalPersonPartyCredential": {
            "additionalProperties": false,
            "description": "Credential entitling a natural person (user, employee) to interact with relying parties.",
            "properties": {
                "delegatable": {
                    "description": "Whether the credential can be the parent of a delegated party credential.",
                    "type": [
                        "boolean",
                        "null"
                    ]
                },
                "givenName": {
                    "description": "Given name.",
                    "type": "string"
                },
                "hasPolicy": {
                    "description": "ODRL policies under which the credential is considered active. Carried as they are; their content is evaluated by the ODRL component, not by these shapes.",
                    "items": {
                        "$ref": "#/$defs/Any"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "holder": {
                    "$ref": "#/$defs/TrustedDigitalIdentity",
                    "description": "Strongly bound trusted digital identity of the holder able to prove possession of the credential: embedded in full, or referenced (id and digestSRI of its TrustedDigitalIdentityCredential)."
                },
                "id": {
                    "description": "Identifier of the subject (credentialSubject.id), a DID or a URL.",
                    "type": "string"
                },
                "identityAttributes": {
                    "description": "Identity attributes defined by the Trust Scope (attribute-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "identityPermissions": {
                    "description": "Identity permissions defined by the Trust Scope (permission-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "identityRoles": {
                    "description": "Identity roles defined by the Trust Scope (role-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "parentPartyCredential": {
                    "description": "Resolvable link to the parent party credential, whose holder must be the issuer of this credential (delegation chain).",
                    "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "parentPartyCredentialDigest": {
                    "description": "Digest of the resolved parent party credential, ensuring the integrity of the delegation chain.",
                    "pattern": "^sha(256|384|512)-[A-Za-z0-9+/]+={0,2}$",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "surname": {
                    "description": "Family name.",
                    "type": "string"
                },
                "trustScope": {
                    "description": "Resolvable link to the TrustScopeCredential used to validate the credential.",
                    "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "required": [
                "givenName",
                "surname",
                "id",
                "holder"
            ],
            "title": "NaturalPersonPartyCredential",
            "type": "object"
        },
        "PartyCredential": {
            "additionalProperties": false,
            "description": "Credential associating roles, attributes, permissions and other claims of a Trust Scope with a trusted digital identity; base of the party credential specialisations.",
            "properties": {
                "delegatable": {
                    "description": "Whether the credential can be the parent of a delegated party credential.",
                    "type": [
                        "boolean",
                        "null"
                    ]
                },
                "hasPolicy": {
                    "description": "ODRL policies under which the credential is considered active. Carried as they are; their content is evaluated by the ODRL component, not by these shapes.",
                    "items": {
                        "$ref": "#/$defs/Any"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "holder": {
                    "$ref": "#/$defs/TrustedDigitalIdentity",
                    "description": "Strongly bound trusted digital identity of the holder able to prove possession of the credential: embedded in full, or referenced (id and digestSRI of its TrustedDigitalIdentityCredential)."
                },
                "id": {
                    "description": "Identifier of the subject (credentialSubject.id), a DID or a URL.",
                    "type": "string"
                },
                "identityAttributes": {
                    "description": "Identity attributes defined by the Trust Scope (attribute-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "identityPermissions": {
                    "description": "Identity permissions defined by the Trust Scope (permission-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "identityRoles": {
                    "description": "Identity roles defined by the Trust Scope (role-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "parentPartyCredential": {
                    "description": "Resolvable link to the parent party credential, whose holder must be the issuer of this credential (delegation chain).",
                    "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "parentPartyCredentialDigest": {
                    "description": "Digest of the resolved parent party credential, ensuring the integrity of the delegation chain.",
                    "pattern": "^sha(256|384|512)-[A-Za-z0-9+/]+={0,2}$",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "trustScope": {
                    "description": "Resolvable link to the TrustScopeCredential used to validate the credential.",
                    "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "required": [
                "id",
                "holder"
            ],
            "title": "PartyCredential",
            "type": "object"
        },
        "RegistrationNumber": {
            "additionalProperties": false,
            "description": "Registration number of an organisation (abstract class, use a concrete type).",
            "title": "RegistrationNumber",
            "type": "object"
        },
        "ServicePartyCredential": {
            "additionalProperties": false,
            "description": "Credential entitling an automated service (process, software agent) to interact with relying parties.",
            "properties": {
                "baseURL": {
                    "description": "Base URL at which the service is accessible.",
                    "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                    "type": "string"
                },
                "delegatable": {
                    "description": "Whether the credential can be the parent of a delegated party credential.",
                    "type": [
                        "boolean",
                        "null"
                    ]
                },
                "hasPolicy": {
                    "description": "ODRL policies under which the credential is considered active. Carried as they are; their content is evaluated by the ODRL component, not by these shapes.",
                    "items": {
                        "$ref": "#/$defs/Any"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "holder": {
                    "$ref": "#/$defs/TrustedDigitalIdentity",
                    "description": "Strongly bound trusted digital identity of the holder able to prove possession of the credential: embedded in full, or referenced (id and digestSRI of its TrustedDigitalIdentityCredential)."
                },
                "id": {
                    "description": "Identifier of the subject (credentialSubject.id), a DID or a URL.",
                    "type": "string"
                },
                "identityAttributes": {
                    "description": "Identity attributes defined by the Trust Scope (attribute-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "identityPermissions": {
                    "description": "Identity permissions defined by the Trust Scope (permission-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "identityRoles": {
                    "description": "Identity roles defined by the Trust Scope (role-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "parentPartyCredential": {
                    "description": "Resolvable link to the parent party credential, whose holder must be the issuer of this credential (delegation chain).",
                    "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "parentPartyCredentialDigest": {
                    "description": "Digest of the resolved parent party credential, ensuring the integrity of the delegation chain.",
                    "pattern": "^sha(256|384|512)-[A-Za-z0-9+/]+={0,2}$",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "trustScope": {
                    "description": "Resolvable link to the TrustScopeCredential used to validate the credential.",
                    "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "required": [
                "baseURL",
                "id",
                "holder"
            ],
            "title": "ServicePartyCredential",
            "type": "object"
        },
        "ServiceScoped": {
            "additionalProperties": false,
            "description": "Service and channels the credential applies to. Mixin shared by the access credentials of the dataspace.",
            "properties": {
                "channelIds": {
                    "description": "Channel identifiers.",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "service": {
                    "description": "Service the credential applies to.",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "title": "ServiceScoped",
            "type": "object"
        },
        "SignedAgreementCredential": {
            "additionalProperties": false,
            "description": "Revocable signed agreement of a participant for a target (for example a data usage agreement); revoked through the credential status of the credential.",
            "properties": {
                "assertionType": {
                    "$ref": "#/$defs/AssertionType",
                    "description": "Type of the assertion expressed (named assertionType: type is the JSON-LD type of the credential subject)."
                },
                "digestSRI": {
                    "description": "Integrity digest of the referenced resource (Verifiable Credentials Data Model v2.0, integrity of related resources). Same term as in the W3C credentials context.",
                    "pattern": "^sha(256|384|512)-[A-Za-z0-9+/]+={0,2}$",
                    "type": "string"
                },
                "humanIdentity": {
                    "$ref": "#/$defs/TrustedDigitalIdentity",
                    "description": "Strongly bound trusted digital identity of the issuer, used to resolve its public key and verify that its controller is a human."
                },
                "id": {
                    "description": "Identifier of the subject (credentialSubject.id), a DID or a URL.",
                    "type": "string"
                },
                "targetType": {
                    "description": "Type of the referenced resource (for example a data usage contract).",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "required": [
                "id",
                "humanIdentity",
                "assertionType",
                "digestSRI"
            ],
            "title": "SignedAgreementCredential",
            "type": "object"
        },
        "SupplierPartyCredential": {
            "additionalProperties": false,
            "description": "Appointment of a supplier by a governance entity of the Trust Scope, restricted to projects.",
            "properties": {
                "delegatable": {
                    "description": "Whether the credential can be the parent of a delegated party credential.",
                    "type": [
                        "boolean",
                        "null"
                    ]
                },
                "hasPolicy": {
                    "description": "ODRL policies under which the credential is considered active. Carried as they are; their content is evaluated by the ODRL component, not by these shapes.",
                    "items": {
                        "$ref": "#/$defs/Any"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "holder": {
                    "$ref": "#/$defs/TrustedDigitalIdentity",
                    "description": "Strongly bound trusted digital identity of the holder able to prove possession of the credential: embedded in full, or referenced (id and digestSRI of its TrustedDigitalIdentityCredential)."
                },
                "id": {
                    "description": "Identifier of the subject (credentialSubject.id), a DID or a URL.",
                    "type": "string"
                },
                "identityAttributes": {
                    "description": "Identity attributes defined by the Trust Scope (attribute-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "identityPermissions": {
                    "description": "Identity permissions defined by the Trust Scope (permission-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "identityRoles": {
                    "description": "Identity roles defined by the Trust Scope (role-based access control).",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "organizationIdentifier": {
                    "description": "Organisation identifier as defined by the applicable eIDAS rules (for example a LEI or VAT number).",
                    "type": "string"
                },
                "parentPartyCredential": {
                    "description": "Resolvable link to the parent party credential, whose holder must be the issuer of this credential (delegation chain).",
                    "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "parentPartyCredentialDigest": {
                    "description": "Digest of the resolved parent party credential, ensuring the integrity of the delegation chain.",
                    "pattern": "^sha(256|384|512)-[A-Za-z0-9+/]+={0,2}$",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "projects": {
                    "description": "Projects restricting the scope of a supplier, as defined by the Trust Scope.",
                    "items": {
                        "type": "string"
                    },
                    "type": "array"
                },
                "trustScope": {
                    "description": "Resolvable link to the TrustScopeCredential used to validate the credential.",
                    "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "required": [
                "projects",
                "organizationIdentifier",
                "id",
                "holder"
            ],
            "title": "SupplierPartyCredential",
            "type": "object"
        },
        "SupplierScoped": {
            "additionalProperties": false,
            "description": "Projects restricting the scope of a supplier. Mixin shared by the supplier credentials.",
            "properties": {
                "projects": {
                    "description": "Projects restricting the scope of a supplier, as defined by the Trust Scope.",
                    "items": {
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                }
            },
            "title": "SupplierScoped",
            "type": "object"
        },
        "TaxID": {
            "additionalProperties": false,
            "description": "Tax identification number.",
            "properties": {
                "taxId": {
                    "description": "Tax identification number.",
                    "type": "string"
                }
            },
            "required": [
                "taxId"
            ],
            "title": "TaxID",
            "type": "object"
        },
        "TrustLevelType": {
            "description": "Category of trust of the Trusted Identity Provider.",
            "enum": [
                "Scoped",
                "Standard",
                "Qualified"
            ],
            "title": "TrustLevelType",
            "type": "string"
        },
        "TrustMapping": {
            "additionalProperties": false,
            "description": "Mapping of a credential type or claim between two Trust Scopes.",
            "properties": {
                "translated": {
                    "description": "Corresponding credential type or claim defined within the trustor Trust Scope.",
                    "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                    "type": "string"
                },
                "trusted": {
                    "description": "Credential type or claim defined within the trusted Trust Scope.",
                    "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                    "type": "string"
                }
            },
            "required": [
                "trusted",
                "translated"
            ],
            "title": "TrustMapping",
            "type": "object"
        },
        "TrustRelationCredential": {
            "additionalProperties": false,
            "description": "Recognition of a trusted Trust Scope by a trustor Trust Scope.",
            "properties": {
                "hasPolicy": {
                    "description": "ODRL policies under which the credential is considered active. Carried as they are; their content is evaluated by the ODRL component, not by these shapes.",
                    "items": {
                        "$ref": "#/$defs/Any"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "id": {
                    "description": "Identifier of the subject (credentialSubject.id), a DID or a URL.",
                    "type": "string"
                },
                "mappings": {
                    "description": "Semantic mappings between the trustor and the trusted Trust Scopes.",
                    "items": {
                        "$ref": "#/$defs/TrustMapping"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "trustedScope": {
                    "description": "Resolvable reference to the Trust Scope being recognised.",
                    "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                    "type": "string"
                },
                "trustorScope": {
                    "description": "Resolvable reference to the Trust Scope establishing the trust relation.",
                    "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                    "type": "string"
                }
            },
            "required": [
                "id",
                "trustorScope",
                "trustedScope"
            ],
            "title": "TrustRelationCredential",
            "type": "object"
        },
        "TrustScopeCredential": {
            "additionalProperties": false,
            "description": "Governance boundary of a trust domain: trusted issuers, trusted identity providers, schemas and vocabularies applicable within the Trust Scope.",
            "properties": {
                "id": {
                    "description": "Identifier of the subject (credentialSubject.id), a DID or a URL.",
                    "type": "string"
                },
                "schemas": {
                    "description": "Schemas (JSON-LD contexts) used to validate the credentials of the Trust Scope.",
                    "items": {
                        "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                },
                "scopeDescription": {
                    "description": "Description of the Trust Scope.",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "trustedIdentityProviders": {
                    "description": "Identity providers trusted within the Trust Scope to check trusted digital identities.",
                    "items": {
                        "$ref": "#/$defs/TrustedDigitalIdentity"
                    },
                    "type": "array"
                },
                "trustedIssuers": {
                    "description": "Strongly bound identities of the issuers trusted within the Trust Scope.",
                    "items": {
                        "$ref": "#/$defs/TrustedDigitalIdentity"
                    },
                    "type": "array"
                },
                "vocabularies": {
                    "description": "Vocabularies (SHACL) semantically describing the Trust Scope.",
                    "items": {
                        "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                        "type": "string"
                    },
                    "type": [
                        "array",
                        "null"
                    ]
                }
            },
            "required": [
                "id",
                "trustedIssuers",
                "trustedIdentityProviders"
            ],
            "title": "TrustScopeCredential",
            "type": "object"
        },
        "TrustedDigitalIdentity": {
            "additionalProperties": false,
            "description": "Cryptographic digital identity verified by a Trusted Identity Provider. Embedded in other credentials (holder, trusted issuers), either in full (controller, level, public key) or as a reference to its TrustedDigitalIdentityCredential (id and digestSRI).",
            "properties": {
                "controller": {
                    "anyOf": [
                        {
                            "$ref": "#/$defs/ControllerKind"
                        },
                        {
                            "type": "null"
                        }
                    ],
                    "description": "Kind of controller of the cryptographic digital identity."
                },
                "digestSRI": {
                    "description": "Integrity digest of the referenced resource (Verifiable Credentials Data Model v2.0, integrity of related resources). Same term as in the W3C credentials context.",
                    "pattern": "^sha(256|384|512)-[A-Za-z0-9+/]+={0,2}$",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "id": {
                    "description": "Identifier of the subject (credentialSubject.id), a DID or a URL.",
                    "type": "string"
                },
                "level": {
                    "anyOf": [
                        {
                            "$ref": "#/$defs/TrustLevelType"
                        },
                        {
                            "type": "null"
                        }
                    ],
                    "description": "Level of trust of the Trusted Identity Provider issuing the identity."
                },
                "publicKeyDigest": {
                    "description": "Digest of the resolved public key, binding it to the identity (proof of possession through verifiable presentations).",
                    "pattern": "^sha(256|384|512)-[A-Za-z0-9+/]+={0,2}$",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "publicKeyId": {
                    "description": "Resolvable link to the verification method identifying one key pair.",
                    "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "required": [
                "id"
            ],
            "title": "TrustedDigitalIdentity",
            "type": "object"
        },
        "TrustedDigitalIdentityCredential": {
            "additionalProperties": false,
            "description": "Credential issued by a Trusted Identity Provider describing a verified cryptographic digital identity, referenced by the other credentials.",
            "properties": {
                "controller": {
                    "$ref": "#/$defs/ControllerKind",
                    "description": "Kind of controller of the cryptographic digital identity."
                },
                "digestSRI": {
                    "description": "Integrity digest of the referenced resource (Verifiable Credentials Data Model v2.0, integrity of related resources). Same term as in the W3C credentials context.",
                    "pattern": "^sha(256|384|512)-[A-Za-z0-9+/]+={0,2}$",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "id": {
                    "description": "Identifier of the subject (credentialSubject.id), a DID or a URL.",
                    "type": "string"
                },
                "level": {
                    "$ref": "#/$defs/TrustLevelType",
                    "description": "Level of trust of the Trusted Identity Provider issuing the identity."
                },
                "publicKeyDigest": {
                    "description": "Digest of the resolved public key, binding it to the identity (proof of possession through verifiable presentations).",
                    "pattern": "^sha(256|384|512)-[A-Za-z0-9+/]+={0,2}$",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "publicKeyId": {
                    "description": "Resolvable link to the verification method identifying one key pair.",
                    "pattern": "^(https?://|did:[a-z0-9]+:).+$",
                    "type": "string"
                }
            },
            "required": [
                "id",
                "controller",
                "level",
                "publicKeyId"
            ],
            "title": "TrustedDigitalIdentityCredential",
            "type": "object"
        },
        "VatID": {
            "additionalProperties": false,
            "description": "VAT number.",
            "properties": {
                "countryCode": {
                    "description": "ISO 3166-1 alpha-2 country code (for example FR).",
                    "pattern": "^[A-Z]{2}$",
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "vatID": {
                    "description": "Intra-community VAT number.",
                    "type": "string"
                }
            },
            "required": [
                "vatID"
            ],
            "title": "VatID",
            "type": "object"
        }
    },
    "$id": "https://schema-registry.dataspacelab-demo.org/seed/v1.0",
    "$schema": "https://json-schema.org/draft/2019-09/schema",
    "additionalProperties": true,
    "metamodel_version": "1.12.0",
    "title": "seed",
    "type": "object",
    "version": null
}
