{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wadifa-info/main/json-schema/wadifa-info-concours-list-schema.json",
  "title": "ConcoursList",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wadifa-info-openapi.yml#/components/schemas/ConcoursList",
  "type": "object",
  "properties": {
    "attribution": {
      "$ref": "#/$defs/Attribution"
    },
    "generated": {
      "type": "string",
      "format": "date-time"
    },
    "count": {
      "type": "integer"
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Concours"
      }
    }
  },
  "$defs": {
    "Attribution": {
      "type": "object",
      "properties": {
        "license": {
          "type": "string"
        },
        "license_url": {
          "type": "string",
          "format": "uri"
        },
        "required": {
          "type": "string"
        },
        "docs": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "Concours": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer"
        },
        "grade": {
          "type": "string"
        },
        "employer": {
          "type": [
            "string",
            "null"
          ]
        },
        "posts": {
          "type": [
            "integer",
            "null"
          ]
        },
        "published": {
          "type": [
            "string",
            "null"
          ],
          "format": "date"
        },
        "deadline": {
          "type": [
            "string",
            "null"
          ],
          "format": "date"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "official_notice": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        }
      }
    }
  }
}