{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/france-identite/json-schema/france-identite-trust-anchor-manifest-schema.json",
  "title": "TrustAnchorManifest",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/france-identite-wallet-trust-openapi.yml#/components/schemas/TrustAnchorManifest",
  "type": "object",
  "required": [
    "fingerprintSha256",
    "certificatePem"
  ],
  "properties": {
    "type": {
      "type": "string"
    },
    "environment": {
      "type": "string"
    },
    "nonProduction": {
      "type": "boolean"
    },
    "warning": {
      "type": "string"
    },
    "subject": {
      "type": "string",
      "description": "Subject of the access certificate CA."
    },
    "issuer": {
      "type": "string"
    },
    "fingerprintSha256": {
      "type": "string",
      "description": "SHA-256 of the access certificate CA."
    },
    "publicKeySpkiSha256": {
      "type": "string"
    },
    "certificatePem": {
      "type": "string"
    },
    "validFrom": {
      "type": "string"
    },
    "validTo": {
      "type": "string"
    },
    "policyOids": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "cpsUri": {
      "type": "string",
      "format": "uri"
    },
    "chainUri": {
      "type": "string",
      "format": "uri"
    },
    "trustListSigner": {
      "$ref": "#/$defs/SignerDescription"
    },
    "lotlSigner": {
      "$ref": "#/$defs/SignerDescription"
    },
    "registrarSigner": {
      "$ref": "#/$defs/SignerDescription"
    }
  },
  "$defs": {
    "SignerDescription": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "certificateUri": {
          "type": "string",
          "format": "uri"
        },
        "fingerprintSha256": {
          "type": "string"
        },
        "subject": {
          "type": "string"
        },
        "issuer": {
          "type": "string"
        },
        "validFrom": {
          "type": "string"
        },
        "validTo": {
          "type": "string"
        },
        "ca": {
          "type": "boolean"
        }
      }
    }
  }
}