{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/france-identite/json-schema/france-identite-card-design-schema.json",
  "title": "CardDesign",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/france-identite-organisation-openapi.yml#/components/schemas/CardDesign",
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "format": {
      "type": "string",
      "enum": [
        "mso_mdoc",
        "dc+sd-jwt"
      ]
    },
    "sha256": {
      "type": "string",
      "description": "SHA-256 of the home card bundle wallets get."
    },
    "uri": {
      "type": "string",
      "description": "The home card bundle",
      "as wallets fetch it.": null
    },
    "files": {
      "type": "string",
      "description": "Base address of its files (config.json",
      "configs/*.json": null,
      "assets/*.png).": null
    },
    "variants": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "homeOnly": {
      "type": "boolean",
      "description": "The bundle was made for the home card only (no gyro views)."
    },
    "samples": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Card Studio's sample values",
      "for previews.": null
    },
    "size": {
      "type": "integer",
      "description": "Size of the uploaded bundle",
      "in bytes.": null
    },
    "uploadedBy": {
      "type": "string"
    },
    "uploadedAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}