{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/praxikon-com/json-schema/praxikon-com-implementation-snapshot-schema.json",
  "title": "ImplementationSnapshot",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/praxikon-com-openapi.json#/components/schemas/ImplementationSnapshot",
  "type": "object",
  "required": [
    "snapshot_schema_version",
    "decision_engine_version",
    "snapshot_id",
    "generated_at",
    "language",
    "dataset",
    "profile",
    "summary",
    "results",
    "source_fingerprints",
    "payload_hash_sha256",
    "source_fingerprint_basis",
    "source_fingerprint_scope",
    "privacy",
    "disclaimer",
    "revalidation"
  ],
  "properties": {
    "snapshot_schema_version": {
      "type": "string",
      "enum": [
        "1.0.0",
        "1.1.0"
      ],
      "description": "Shape of the dossier. 1.1.0 added open_legal_readings on a result. Both values are accepted on import and this list never gets shorter."
    },
    "decision_engine_version": {
      "type": "string",
      "const": "1.0.0"
    },
    "snapshot_id": {
      "type": "string"
    },
    "generated_at": {
      "type": "string",
      "format": "date-time"
    },
    "language": {
      "type": "string",
      "enum": [
        "nl",
        "en"
      ]
    },
    "dataset": {
      "$ref": "#/$defs/ImplementationSnapshotDataset"
    },
    "profile": {
      "$ref": "#/$defs/ImplementationProfile"
    },
    "summary": {
      "$ref": "#/$defs/ImplementationSnapshotSummary"
    },
    "results": {
      "type": "array",
      "minItems": 5,
      "maxItems": 5,
      "items": {
        "$ref": "#/$defs/ImplementationResult"
      }
    },
    "source_fingerprints": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "payload_hash_sha256": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "source_fingerprint_basis": {
      "type": "string",
      "const": "canonical_url|source_version|verified_at",
      "description": "What every source_record_hash_sha256 in this dossier covers: the fields of our own source record. It is deliberately not part of the hashed payload, so dossiers exported before 2026-08-11 keep passing their integrity check."
    },
    "source_fingerprint_scope": {
      "type": "string",
      "description": "The same boundary in plain language, in the language of the dossier: the source hash is not an archive copy or content hash of the external document."
    },
    "privacy": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "processing": {
          "const": "stateless"
        },
        "server_persistence": {
          "const": "none"
        },
        "profile_contains_free_text": {
          "const": false
        }
      }
    },
    "disclaimer": {
      "type": "string"
    },
    "revalidation": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "additionalProperties": false,
  "$defs": {
    "ApplicabilityStatus": {
      "type": "string",
      "enum": [
        "applies",
        "possibly_applies",
        "not_indicated",
        "insufficient_context"
      ],
      "description": "A scoped first-assessment status. It is not a compliance determination."
    },
    "ImplementationProfile": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "actor_role",
        "object_type",
        "eu_nexus",
        "article_5_signal",
        "annex_iii_domain",
        "annex_iii_use_case",
        "decision_influence",
        "article_50_scenarios",
        "article_50_market_date",
        "direct_interaction_obvious",
        "public_interest_editorial_control",
        "fria_context",
        "gpai_union_market",
        "gpai_market_date",
        "gpai_open_source_status"
      ],
      "properties": {
        "actor_role": {
          "type": "string",
          "enum": [
            "provider",
            "deployer",
            "provider_and_deployer",
            "gpai_model_provider",
            "importer_or_distributor",
            "unsure"
          ]
        },
        "object_type": {
          "type": "string",
          "enum": [
            "ai_system",
            "gpai_model",
            "ai_system_using_gpai",
            "unsure"
          ]
        },
        "eu_nexus": {
          "type": "string",
          "enum": [
            "offered_or_used_in_eu",
            "output_used_in_eu",
            "none",
            "unsure"
          ]
        },
        "article_5_signal": {
          "type": "string",
          "enum": [
            "none_known",
            "manipulation_exploitation_or_social_scoring",
            "biometric_or_remote_identification",
            "emotion_at_work_or_school",
            "predictive_policing",
            "non_consensual_intimate_or_csam",
            "unsure"
          ]
        },
        "annex_iii_domain": {
          "type": "string",
          "enum": [
            "biometrics",
            "critical_infrastructure",
            "education",
            "employment",
            "essential_services",
            "law_enforcement",
            "migration_border",
            "justice_democracy",
            "none",
            "unsure"
          ]
        },
        "annex_iii_use_case": {
          "type": "string",
          "enum": [
            "bio-1a",
            "bio-1b",
            "bio-1c",
            "ci-2",
            "edu-3a",
            "edu-3b",
            "edu-3c",
            "edu-3d",
            "emp-4a",
            "emp-4b",
            "es-5a",
            "es-5b",
            "es-5c",
            "es-5d",
            "le-6a",
            "le-6b",
            "le-6c",
            "le-6d",
            "le-6e",
            "mig-7a",
            "mig-7b",
            "mig-7c",
            "mig-7d",
            "jd-8a",
            "jd-8b",
            "none",
            "unsure",
            "not_relevant"
          ]
        },
        "decision_influence": {
          "type": "string",
          "enum": [
            "profiles_people",
            "materially_influences",
            "narrow_or_preparatory",
            "no_material_influence",
            "unsure",
            "not_relevant"
          ]
        },
        "article_50_scenarios": {
          "type": "array",
          "minItems": 1,
          "maxItems": 5,
          "uniqueItems": true,
          "items": {
            "type": "string",
            "enum": [
              "direct_interaction",
              "synthetic_content",
              "emotion_or_biometric",
              "deepfake",
              "public_interest_text",
              "none",
              "unsure"
            ]
          }
        },
        "article_50_market_date": {
          "type": "string",
          "enum": [
            "before_2026_08_02",
            "on_or_after_2026_08_02",
            "unsure",
            "not_relevant"
          ]
        },
        "direct_interaction_obvious": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ]
        },
        "public_interest_editorial_control": {
          "type": "string",
          "enum": [
            "yes_with_responsibility",
            "no",
            "unsure",
            "not_relevant"
          ]
        },
        "fria_context": {
          "type": "string",
          "enum": [
            "public_body",
            "private_public_service",
            "creditworthiness",
            "life_or_health_insurance",
            "none",
            "unsure",
            "not_relevant"
          ]
        },
        "gpai_union_market": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ]
        },
        "gpai_market_date": {
          "type": "string",
          "enum": [
            "before_2025_08_02",
            "on_or_after_2025_08_02",
            "unsure",
            "not_relevant"
          ]
        },
        "gpai_open_source_status": {
          "type": "string",
          "enum": [
            "qualifying_without_systemic_risk",
            "not_qualifying_or_systemic_risk",
            "unsure",
            "not_relevant"
          ]
        },
        "profile_version": {
          "type": "string",
          "const": "2.0.0",
          "description": "Opt-in to the broad route set. Present and equal to 2.0.0 makes the engine assess every registered duty. Absent keeps the original five routes and their exact outcomes, and the assessment_scope block then names the duties that were not assessed."
        },
        "chain_roles": {
          "type": "array",
          "minItems": 1,
          "maxItems": 6,
          "uniqueItems": true,
          "items": {
            "type": "string",
            "enum": [
              "provider",
              "deployer",
              "importer",
              "distributor",
              "authorised_representative",
              "gpai_model_provider"
            ]
          },
          "description": "Chapter III, Section 3 roles kept apart, because Articles 23 and 24 impose different duties. Must agree with actor_role."
        },
        "scope_exclusion": {
          "type": "string",
          "enum": [
            "none",
            "personal_non_professional",
            "military_defence_national_security",
            "research_before_market",
            "unsure"
          ],
          "description": "Article 2(3), (6), (8) and (10): an exclusion from the scope of the Regulation."
        },
        "article_25_role_change": {
          "type": "string",
          "enum": [
            "none",
            "own_name_or_trademark",
            "substantial_modification",
            "changed_purpose_high_risk",
            "unsure"
          ],
          "description": "Article 25(1): own name or trademark, substantial modification, or a changed intended purpose. Each of these makes the party the provider."
        },
        "article_6_3_exception": {
          "type": "string",
          "enum": [
            "none",
            "narrow_procedural",
            "improves_completed_activity",
            "detects_patterns",
            "preparatory",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 6(3): which of the four listed situations describes the system."
        },
        "ai_system_scope": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 3(1): is the assessed object an AI system. `not_relevant` means the object is a general-purpose AI model rather than a system."
        },
        "jurisdiction_established_in_eu": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 2(1): established in the Union."
        },
        "jurisdiction_market_in_eu": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 2(1): placed on the market or put into service in the Union."
        },
        "jurisdiction_output_in_eu": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 2(1)(c): the output produced by the system is used in the Union."
        },
        "annex_i_product": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 6(1)(a): the system is a product, or a safety component of a product, covered by the legislation in Annex I."
        },
        "annex_i_third_party_conformity": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 6(1)(b): a third-party conformity assessment is required for that product."
        },
        "safety_component": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Inserted Article 6(1a)-(1c): the system is used as a safety component. The definition applies for the whole Regulation, so it also decides whether Annex III point 2 catches the system. Added after decision D4 of 6 September 2026."
        },
        "article_25_already_high_risk": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 25(1): the system concerned is already a high-risk system."
        },
        "third_party_components_integrated": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 25(4): a third party supplies components, tools or services used in the high-risk system, which requires a written agreement."
        },
        "gpai_high_impact_capabilities": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 51(1)(a): the model has high-impact capabilities, evaluated using appropriate technical tools. A standalone route beside the compute-threshold presumption in Article 51(2)."
        },
        "article_6_3_no_significant_risk": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 6(3): the system poses no significant risk of harm to health, safety or fundamental rights."
        },
        "article_6_3_profiling": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 6(3), last subparagraph: the system performs profiling of natural persons. Profiling always rules the exception out."
        },
        "article_6_3_documented": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 6(4): the Article 6(3) assessment is documented before the system is placed on the market."
        },
        "gpai_compute_above_threshold": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 51(2): the model meets the threshold for high-impact capabilities."
        },
        "gpai_commission_designated": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 51(1)(b): the Commission designated the model as one with systemic risk."
        },
        "gpai_systemic_notification": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 52(1): the model was notified to the Commission."
        },
        "provider_outside_eu": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 22: the provider is established outside the Union and needs an authorised representative."
        },
        "controlled_input_data": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 26(4): the deployer exercises control over the input data."
        },
        "logs_under_control": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 26(6): the automatically generated logs are under the deployer control."
        },
        "workplace_use": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 26(7): the system is put into use in the workplace in respect of workers."
        },
        "public_authority_deployer": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 26(8) with Article 49(3): the deployer is a public authority or a Union institution."
        },
        "personal_data_processing": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 26(9): the system processes personal data."
        },
        "law_enforcement_remote_identification": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 26(10): post-remote biometric identification in the context of law enforcement."
        },
        "decisions_about_people": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 26(11): the system takes decisions about natural persons or assists in taking them."
        },
        "adverse_significant_decision": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 86(1): the deployer takes a decision on the basis of the output from the high-risk AI system listed in Annex III, other than point 2 of that Annex, which produces legal effects for the affected person or similarly significantly affects that person in a way that they consider to have an adverse impact on their health, safety or fundamental rights."
        },
        "risk_detected": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 26(5): a risk within the meaning of Article 79(1) has been detected."
        },
        "serious_incident": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 73: a serious incident has occurred."
        },
        "sandbox_participation": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 57: participation in an AI regulatory sandbox."
        },
        "real_world_testing": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 60: testing in real world conditions outside a sandbox."
        },
        "complaint_to_authority": {
          "type": "string",
          "enum": [
            "yes",
            "no",
            "unsure",
            "not_relevant"
          ],
          "description": "Article 85: a complaint about the system is pending with a market surveillance authority."
        }
      },
      "allOf": [
        {
          "description": "A profile that declares itself v2 answers the scope questions that decide whether a duty comes into view at all.",
          "if": {
            "required": [
              "profile_version"
            ],
            "properties": {
              "profile_version": {
                "const": "2.0.0"
              }
            }
          },
          "then": {
            "required": [
              "ai_system_scope",
              "chain_roles",
              "jurisdiction_established_in_eu",
              "jurisdiction_market_in_eu",
              "jurisdiction_output_in_eu",
              "scope_exclusion",
              "annex_i_product",
              "annex_i_third_party_conformity",
              "article_25_role_change",
              "provider_outside_eu",
              "sandbox_participation",
              "real_world_testing",
              "adverse_significant_decision"
            ]
          }
        },
        {
          "description": "The Annex I conformity question is answered only for a product covered by Annex I.",
          "if": {
            "required": [
              "annex_i_product"
            ],
            "properties": {
              "annex_i_product": {
                "const": "no"
              }
            }
          },
          "then": {
            "properties": {
              "annex_i_third_party_conformity": {
                "enum": [
                  "no",
                  "not_relevant"
                ]
              }
            }
          }
        },
        {
          "description": "What is not an AI system cannot be a high-risk AI system under Article 6(1).",
          "if": {
            "required": [
              "ai_system_scope"
            ],
            "properties": {
              "ai_system_scope": {
                "const": "no"
              }
            }
          },
          "then": {
            "properties": {
              "annex_i_product": {
                "not": {
                  "const": "yes"
                }
              }
            }
          }
        },
        {
          "description": "Without a role change under Article 25 the follow-up question is not asked.",
          "if": {
            "required": [
              "article_25_role_change"
            ],
            "properties": {
              "article_25_role_change": {
                "const": "none"
              }
            }
          },
          "then": {
            "properties": {
              "article_25_already_high_risk": {
                "const": "not_relevant"
              }
            }
          }
        },
        {
          "description": "`none` is an exclusive Article 50 scenario answer.",
          "if": {
            "required": [
              "article_50_scenarios"
            ],
            "properties": {
              "article_50_scenarios": {
                "contains": {
                  "const": "none"
                }
              }
            }
          },
          "then": {
            "properties": {
              "article_50_scenarios": {
                "maxItems": 1
              }
            }
          }
        },
        {
          "description": "`unsure` is an exclusive Article 50 scenario answer.",
          "if": {
            "required": [
              "article_50_scenarios"
            ],
            "properties": {
              "article_50_scenarios": {
                "contains": {
                  "const": "unsure"
                }
              }
            }
          },
          "then": {
            "properties": {
              "article_50_scenarios": {
                "maxItems": 1
              }
            }
          }
        },
        {
          "description": "A GPAI model is assessed for a GPAI model provider, importer or distributor, or an unresolved actor role.",
          "if": {
            "required": [
              "object_type"
            ],
            "properties": {
              "object_type": {
                "const": "gpai_model"
              }
            }
          },
          "then": {
            "properties": {
              "actor_role": {
                "enum": [
                  "gpai_model_provider",
                  "importer_or_distributor",
                  "unsure"
                ]
              }
            }
          }
        },
        {
          "description": "An AI system object cannot use the GPAI-model-provider role.",
          "if": {
            "required": [
              "object_type"
            ],
            "properties": {
              "object_type": {
                "enum": [
                  "ai_system",
                  "ai_system_using_gpai"
                ]
              }
            }
          },
          "then": {
            "properties": {
              "actor_role": {
                "enum": [
                  "provider",
                  "deployer",
                  "provider_and_deployer",
                  "importer_or_distributor",
                  "unsure"
                ]
              }
            }
          }
        },
        {
          "description": "A standalone GPAI-model profile does not carry AI-system-only answers.",
          "if": {
            "required": [
              "object_type"
            ],
            "properties": {
              "object_type": {
                "const": "gpai_model"
              }
            }
          },
          "then": {
            "properties": {
              "article_5_signal": {
                "const": "none_known"
              },
              "annex_iii_domain": {
                "const": "none"
              },
              "annex_iii_use_case": {
                "const": "none"
              },
              "article_50_scenarios": {
                "const": [
                  "none"
                ]
              }
            }
          }
        },
        {
          "description": "No Annex III domain has no Annex III use case.",
          "if": {
            "required": [
              "annex_iii_domain"
            ],
            "properties": {
              "annex_iii_domain": {
                "const": "none"
              }
            }
          },
          "then": {
            "properties": {
              "annex_iii_use_case": {
                "const": "none"
              }
            }
          }
        },
        {
          "description": "An unresolved Annex III domain keeps the use case unresolved.",
          "if": {
            "required": [
              "annex_iii_domain"
            ],
            "properties": {
              "annex_iii_domain": {
                "const": "unsure"
              }
            }
          },
          "then": {
            "properties": {
              "annex_iii_use_case": {
                "const": "unsure"
              }
            }
          }
        },
        {
          "description": "Decision influence is answered only for an exact Annex III use case.",
          "if": {
            "required": [
              "annex_iii_use_case"
            ],
            "properties": {
              "annex_iii_use_case": {
                "enum": [
                  "bio-1a",
                  "bio-1b",
                  "bio-1c",
                  "ci-2",
                  "edu-3a",
                  "edu-3b",
                  "edu-3c",
                  "edu-3d",
                  "emp-4a",
                  "emp-4b",
                  "es-5a",
                  "es-5b",
                  "es-5c",
                  "es-5d",
                  "le-6a",
                  "le-6b",
                  "le-6c",
                  "le-6d",
                  "le-6e",
                  "mig-7a",
                  "mig-7b",
                  "mig-7c",
                  "mig-7d",
                  "jd-8a",
                  "jd-8b"
                ]
              }
            }
          },
          "then": {
            "properties": {
              "decision_influence": {
                "not": {
                  "const": "not_relevant"
                }
              }
            }
          },
          "else": {
            "properties": {
              "decision_influence": {
                "const": "not_relevant"
              }
            }
          }
        },
        {
          "description": "Interaction obviousness is answered only when direct AI interaction occurs.",
          "if": {
            "required": [
              "article_50_scenarios"
            ],
            "properties": {
              "article_50_scenarios": {
                "contains": {
                  "const": "direct_interaction"
                }
              }
            }
          },
          "then": {
            "properties": {
              "direct_interaction_obvious": {
                "not": {
                  "const": "not_relevant"
                }
              }
            }
          },
          "else": {
            "properties": {
              "direct_interaction_obvious": {
                "const": "not_relevant"
              }
            }
          }
        },
        {
          "description": "Article 50 market timing is answered only by a provider of synthetic-content functionality.",
          "if": {
            "required": [
              "actor_role",
              "article_50_scenarios"
            ],
            "properties": {
              "actor_role": {
                "enum": [
                  "provider",
                  "provider_and_deployer"
                ]
              },
              "article_50_scenarios": {
                "contains": {
                  "const": "synthetic_content"
                }
              }
            }
          },
          "then": {
            "properties": {
              "article_50_market_date": {
                "not": {
                  "const": "not_relevant"
                }
              }
            }
          },
          "else": {
            "properties": {
              "article_50_market_date": {
                "const": "not_relevant"
              }
            }
          }
        },
        {
          "description": "Editorial control is answered only by a deployer of public-interest AI text.",
          "if": {
            "required": [
              "actor_role",
              "article_50_scenarios"
            ],
            "properties": {
              "actor_role": {
                "enum": [
                  "deployer",
                  "provider_and_deployer"
                ]
              },
              "article_50_scenarios": {
                "contains": {
                  "const": "public_interest_text"
                }
              }
            }
          },
          "then": {
            "properties": {
              "public_interest_editorial_control": {
                "not": {
                  "const": "not_relevant"
                }
              }
            }
          },
          "else": {
            "properties": {
              "public_interest_editorial_control": {
                "const": "not_relevant"
              }
            }
          }
        },
        {
          "description": "FRIA context is answered only for a deployer with a relevant exact Annex III use case.",
          "if": {
            "required": [
              "actor_role",
              "annex_iii_use_case"
            ],
            "properties": {
              "actor_role": {
                "enum": [
                  "deployer",
                  "provider_and_deployer"
                ]
              },
              "annex_iii_use_case": {
                "enum": [
                  "bio-1a",
                  "bio-1b",
                  "bio-1c",
                  "edu-3a",
                  "edu-3b",
                  "edu-3c",
                  "edu-3d",
                  "emp-4a",
                  "emp-4b",
                  "es-5a",
                  "es-5b",
                  "es-5c",
                  "es-5d",
                  "le-6a",
                  "le-6b",
                  "le-6c",
                  "le-6d",
                  "le-6e",
                  "mig-7a",
                  "mig-7b",
                  "mig-7c",
                  "mig-7d",
                  "jd-8a",
                  "jd-8b"
                ]
              }
            }
          },
          "then": {
            "properties": {
              "fria_context": {
                "not": {
                  "const": "not_relevant"
                }
              }
            }
          },
          "else": {
            "properties": {
              "fria_context": {
                "const": "not_relevant"
              }
            }
          }
        },
        {
          "description": "EU-market context is answered only for a standalone GPAI-model provider.",
          "if": {
            "required": [
              "object_type",
              "actor_role"
            ],
            "properties": {
              "object_type": {
                "const": "gpai_model"
              },
              "actor_role": {
                "const": "gpai_model_provider"
              }
            }
          },
          "then": {
            "properties": {
              "gpai_union_market": {
                "not": {
                  "const": "not_relevant"
                }
              }
            }
          },
          "else": {
            "properties": {
              "gpai_union_market": {
                "const": "not_relevant"
              }
            }
          }
        },
        {
          "description": "GPAI timing and open-source context are answered only when the model is placed on the EU market.",
          "if": {
            "required": [
              "object_type",
              "actor_role",
              "gpai_union_market"
            ],
            "properties": {
              "object_type": {
                "const": "gpai_model"
              },
              "actor_role": {
                "const": "gpai_model_provider"
              },
              "gpai_union_market": {
                "const": "yes"
              }
            }
          },
          "then": {
            "properties": {
              "gpai_market_date": {
                "not": {
                  "const": "not_relevant"
                }
              },
              "gpai_open_source_status": {
                "not": {
                  "const": "not_relevant"
                }
              }
            }
          },
          "else": {
            "properties": {
              "gpai_market_date": {
                "const": "not_relevant"
              },
              "gpai_open_source_status": {
                "const": "not_relevant"
              }
            }
          }
        },
        {
          "if": {
            "required": [
              "annex_iii_domain"
            ],
            "properties": {
              "annex_iii_domain": {
                "const": "biometrics"
              }
            }
          },
          "then": {
            "properties": {
              "annex_iii_use_case": {
                "enum": [
                  "bio-1a",
                  "bio-1b",
                  "bio-1c",
                  "none",
                  "unsure"
                ]
              }
            }
          }
        },
        {
          "if": {
            "required": [
              "annex_iii_domain"
            ],
            "properties": {
              "annex_iii_domain": {
                "const": "critical_infrastructure"
              }
            }
          },
          "then": {
            "properties": {
              "annex_iii_use_case": {
                "enum": [
                  "ci-2",
                  "none",
                  "unsure"
                ]
              }
            }
          }
        },
        {
          "if": {
            "required": [
              "annex_iii_domain"
            ],
            "properties": {
              "annex_iii_domain": {
                "const": "education"
              }
            }
          },
          "then": {
            "properties": {
              "annex_iii_use_case": {
                "enum": [
                  "edu-3a",
                  "edu-3b",
                  "edu-3c",
                  "edu-3d",
                  "none",
                  "unsure"
                ]
              }
            }
          }
        },
        {
          "if": {
            "required": [
              "annex_iii_domain"
            ],
            "properties": {
              "annex_iii_domain": {
                "const": "employment"
              }
            }
          },
          "then": {
            "properties": {
              "annex_iii_use_case": {
                "enum": [
                  "emp-4a",
                  "emp-4b",
                  "none",
                  "unsure"
                ]
              }
            }
          }
        },
        {
          "if": {
            "required": [
              "annex_iii_domain"
            ],
            "properties": {
              "annex_iii_domain": {
                "const": "essential_services"
              }
            }
          },
          "then": {
            "properties": {
              "annex_iii_use_case": {
                "enum": [
                  "es-5a",
                  "es-5b",
                  "es-5c",
                  "es-5d",
                  "none",
                  "unsure"
                ]
              }
            }
          }
        },
        {
          "if": {
            "required": [
              "annex_iii_domain"
            ],
            "properties": {
              "annex_iii_domain": {
                "const": "law_enforcement"
              }
            }
          },
          "then": {
            "properties": {
              "annex_iii_use_case": {
                "enum": [
                  "le-6a",
                  "le-6b",
                  "le-6c",
                  "le-6d",
                  "le-6e",
                  "none",
                  "unsure"
                ]
              }
            }
          }
        },
        {
          "if": {
            "required": [
              "annex_iii_domain"
            ],
            "properties": {
              "annex_iii_domain": {
                "const": "migration_border"
              }
            }
          },
          "then": {
            "properties": {
              "annex_iii_use_case": {
                "enum": [
                  "mig-7a",
                  "mig-7b",
                  "mig-7c",
                  "mig-7d",
                  "none",
                  "unsure"
                ]
              }
            }
          }
        },
        {
          "if": {
            "required": [
              "annex_iii_domain"
            ],
            "properties": {
              "annex_iii_domain": {
                "const": "justice_democracy"
              }
            }
          },
          "then": {
            "properties": {
              "annex_iii_use_case": {
                "enum": [
                  "jd-8a",
                  "jd-8b",
                  "none",
                  "unsure"
                ]
              }
            }
          }
        }
      ]
    },
    "ImplementationResult": {
      "type": "object",
      "required": [
        "obligation_id",
        "slug",
        "label",
        "summary",
        "applicability",
        "timing",
        "effective_on",
        "transition_ends_on",
        "blocking_flags",
        "legal_status",
        "deadline_at",
        "deadline_note",
        "why",
        "rule_trace",
        "assumptions",
        "unresolved_questions",
        "subresults",
        "actions",
        "evidence",
        "controls",
        "templates",
        "sources",
        "human_page",
        "entity_version",
        "entity_effective_at",
        "entity_known_at",
        "entity_payload_hash_sha256",
        "result_payload_hash_sha256",
        "review"
      ],
      "properties": {
        "obligation_id": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "summary": {
          "type": "string"
        },
        "applicability": {
          "$ref": "#/$defs/ApplicabilityStatus"
        },
        "timing": {
          "type": "string",
          "enum": [
            "current",
            "future",
            "transition",
            "uncertain"
          ]
        },
        "effective_on": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "transition_ends_on": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "blocking_flags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "legal_status": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "in_force",
            "applicable",
            "upcoming",
            "guidance",
            null
          ]
        },
        "deadline_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "deadline_note": {
          "type": [
            "string",
            "null"
          ]
        },
        "why": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "assumptions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "unresolved_questions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "rule_trace": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "subresults": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "actions": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "evidence": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "controls": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "templates": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "sources": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "human_page": {
          "type": "string",
          "format": "uri"
        },
        "entity_version": {
          "type": "string"
        },
        "entity_effective_at": {
          "type": "string",
          "format": "date-time"
        },
        "entity_known_at": {
          "type": "string",
          "format": "date-time"
        },
        "entity_payload_hash_sha256": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        },
        "result_payload_hash_sha256": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        },
        "review": {
          "$ref": "#/$defs/ReviewMetadata"
        }
      },
      "additionalProperties": true
    },
    "ImplementationSnapshotDataset": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "id",
        "version",
        "schema_version",
        "effective_at",
        "known_at",
        "last_reviewed_at"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "version": {
          "type": "string"
        },
        "schema_version": {
          "type": "string"
        },
        "effective_at": {
          "type": "string",
          "format": "date-time"
        },
        "known_at": {
          "type": "string",
          "format": "date-time"
        },
        "last_reviewed_at": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "ImplementationSnapshotSummary": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "applies",
        "possibly_applies",
        "not_indicated",
        "insufficient_context"
      ],
      "properties": {
        "applies": {
          "type": "integer",
          "minimum": 0,
          "maximum": 5
        },
        "possibly_applies": {
          "type": "integer",
          "minimum": 0,
          "maximum": 5
        },
        "not_indicated": {
          "type": "integer",
          "minimum": 0,
          "maximum": 5
        },
        "insufficient_context": {
          "type": "integer",
          "minimum": 0,
          "maximum": 5
        }
      }
    },
    "ReviewMetadata": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "reviewed_at",
        "reviewer",
        "review_method",
        "legal_status"
      ],
      "properties": {
        "reviewed_at": {
          "type": "string",
          "format": "date-time"
        },
        "reviewer": {
          "type": "string",
          "minLength": 1
        },
        "review_method": {
          "type": "string",
          "const": "source_link_and_rule_validation"
        },
        "legal_status": {
          "type": "string",
          "enum": [
            "source_checked",
            "editorial"
          ]
        }
      }
    }
  }
}