{
  "vct": "eu.we-build:approvedsupplier:1",
  "name": "ApprovedSupplier SD-JWT VC Schema",
  "description": "Schema for the Approved Supplier Attestation encoded as SD-JWT VC, based on the WE BUILD Attestation Rulebook for attestations of type Approved Supplier (Use Case SC5, eInvoicing) and draft-ietf-oauth-sd-jwt-vc",
  "display": [
    {
      "locale": "en-US",
      "name": "ApprovedSupplier",
      "description": "Schema for the Approved Supplier Attestation encoded as SD-JWT VC, based on the WE BUILD Attestation Rulebook for attestations of type Approved Supplier (Use Case SC5, eInvoicing) and draft-ietf-oauth-sd-jwt-vc"
    }
  ],
  "claims": [
    {
      "path": [
        "approving_party",
        "legal_name"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Legal Name"
        }
      ],
      "description": "Registered legal name of the Buyer."
    },
    {
      "path": [
        "approving_party",
        "legal_id"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Legal Id"
        }
      ],
      "description": "Unique legal-person identifier (EUID) of the Buyer, sourced from the Buyer's EBWOID."
    },
    {
      "path": [
        "approving_party",
        "peppol_id"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Peppol Id"
        }
      ],
      "description": "Peppol participant identifier of the Buyer (scheme:value, e.g. '0009:FR59120680088')."
    },
    {
      "path": [
        "approving_party"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Approving Party"
        }
      ],
      "description": "The Buyer (Peppol corner C4) issuing the approval. Mandatory. MAY be selectively disclosable.",
      "mandatory": true,
      "sd": "always"
    },
    {
      "path": [
        "approval_valid_from"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Approval Valid From"
        }
      ],
      "description": "Date from which the approval is valid (RFC 3339 full-date). SHALL NOT be later than approval_valid_until when present. Mandatory. MAY be selectively disclosable.",
      "mandatory": true,
      "sd": "always"
    },
    {
      "path": [
        "cryptographically_bound_to"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Cryptographically Bound To"
        }
      ],
      "description": "vct of the attestation on the same Wallet Unit to which this attestation is cryptographically bound (the Supplier's EBWOID). RECOMMENDED per ARB_28. NOT selectively disclosable.",
      "sd": "always"
    },
    {
      "path": [
        "approved_supplier",
        "legal_id"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Legal Id"
        }
      ],
      "description": "Unique legal-person identifier (EUID) of the Supplier, sourced from the Supplier's EBWOID."
    },
    {
      "path": [
        "approved_supplier",
        "peppol_id"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Peppol Id"
        }
      ],
      "description": "Peppol participant identifier of the Supplier (scheme:value)."
    },
    {
      "path": [
        "approved_supplier",
        "legal_name"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Legal Name"
        }
      ],
      "description": "Registered legal name of the approved Supplier."
    },
    {
      "path": [
        "approved_supplier"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Approved Supplier"
        }
      ],
      "description": "The Supplier (Peppol corner C1) being approved — the holder/subject. Mandatory. MAY be selectively disclosable.",
      "mandatory": true,
      "sd": "always"
    },
    {
      "path": [
        "approval_valid_until"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Approval Valid Until"
        }
      ],
      "description": "Date until which the approval is valid (business validity, distinct from the technical exp claim). Optional. MAY be selectively disclosable.",
      "sd": "always"
    },
    {
      "path": [
        "approval_reference"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Approval Reference"
        }
      ],
      "description": "Buyer-internal reference for the underlying commercial relationship (e.g. framework agreement number). Optional. MUST be selectively disclosable (SD claim).",
      "sd": "always"
    },
    {
      "path": [
        "attestation_legal_category"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Attestation Legal Category"
        }
      ],
      "description": "Legal category of this attestation under eIDAS 2. For the Approved Supplier attestation this SHALL be 'EAA' (self-issued by the Buyer). NOT selectively disclosable.",
      "mandatory": true,
      "sd": "always"
    },
    {
      "path": [
        "trust_anchor_url"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Trust Anchor Url"
        }
      ],
      "description": "URL at which a machine-readable version of the trust anchor used for verifying the attestation can be found or looked up. Optional metadata; for this EAA, trust is anchored in the issuer's EBWOID per Chapter 5 of the Rulebook."
    },
    {
      "path": [
        "schema_version"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Schema Version"
        }
      ],
      "description": "Version of the Approved Supplier attestation schema used. Optional metadata."
    },
    {
      "path": [
        "approval_scope"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Approval Scope"
        }
      ],
      "description": "Scope of the approval per the code list in Section 2.8 of the Rulebook. Mandatory. MAY be selectively disclosable.",
      "mandatory": true,
      "sd": "always"
    }
  ]
}