=== META ===
{
  "id": "EXAMPLE-WMS-PARCEL-NUMBER",
  "title": "Example - Parcel Number Validation",
  "version": "0.1.0",
  "status": "draft",
  "updated": "2026-04-25",
  "authority": "10_examples/EXAMPLE-WMS-PARCEL-NUMBER.gtpx",
  "type": "example",
  "project": "GTPX",
  "depends_on": [
    "06_protocol/GTPX-REQUEST-MODEL.gtpx",
    "06_protocol/GTPX-RESPONSE-MODEL.gtpx",
    "07_validation/GTPX-VALIDATION-MODEL.gtpx",
    "09_runtime/GTPX-RUNTIME-MODEL.gtpx"
  ]
}

=== DATA ===
{
  "purpose": "Demonstrates a full GTPX request-response cycle for validating a parcel number.",

  "request_example": {
    "CONTRACT": {
      "meta_ugovora": {
        "contract_id": "C-001",
        "contract_version": "1.0.0",
        "contract_purpose": "Validate parcel number format"
      },
      "obavezni_sadrzaj": {
        "allowed_actors": ["AI Model"],
        "allowed_sources": ["USER_PROVIDED"],
        "required_structure": "GTPX request model",
        "required_validation": "full",
        "required_output_format": "GTPX response model"
      },
      "dodatni_sadrzaj": {},
      "ogranicenja_komunikacije": {
        "forbidden_actions": ["data_inference"],
        "fail_policy": "fail_closed",
        "max_scope": "single_validation",
        "allowed_operations": ["validate"]
      }
    },

    "AGENT": "PAM",

    "PURPOSE": "Validate parcel number",

    "CONTEXT": {
      "country": "HR"
    },

    "SOURCE_SET": [
      {
        "source_id": "S1",
        "source_type": "USER_PROVIDED",
        "authority_level": "low",
        "freshness_required": false,
        "citation_required": false,
        "allowed_usage": "validation_only"
      }
    ],

    "FILE_SET": [],

    "REQUEST": {
      "parcel_number": "123-ABC-456"
    },

    "EXPECTED_OUTPUT": "validation_result",

    "PAYLOAD_HASH": "abc123",

    "END_OF_MESSAGE": true
  },

  "response_example": {
    "ACK": "READ_COMPLETE",

    "STATUS": "valid",

    "SUMMARY": "Parcel number format validated.",

    "MISSING_CONTEXT": [],

    "ANALYSIS": {
      "format_check": "passed",
      "structure_check": "passed"
    },

    "RISKS": [],

    "PROPOSED_ACTIONS": [
      "accept_parcel_number"
    ],

    "PATCH": null,

    "DRY_RUN": null,

    "NEXT_STEP": "store_parcel_number"
  }
}

=== RULES ===
{
  "example_must_follow_full_standard": true,
  "example_must_be_traceable": true,
  "example_must_be_validatable": true,
  "example_must_not_skip_sections": true
}

=== STATUS ===
{
  "state": "draft",
  "open_questions": [
    "Confirm if hash value must be realistic in examples.",
    "Confirm if multiple examples are required for v1.0."
  ],
  "next_step": "Create and populate 99_reports/STATUS.gtpx."
}