{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/esios-red-electrica/main/json-schema/esios-red-electrica-get-id-response-schema.json",
  "title": "GetIdResponse",
  "x-generated": "2026-09-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/esios-red-electrica-archive-openapi-generated.yml#/components/schemas/GetIdResponse",
  "type": "object",
  "properties": {
    "archives": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "horizon": {
            "type": "string"
          },
          "archive_type": {
            "type": "string"
          },
          "download": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            }
          },
          "date": {
            "type": "object",
            "properties": {
              "date": {
                "type": "string",
                "format": "date-time"
              }
            }
          },
          "date_times": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "date"
            }
          },
          "publication_date": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "date"
            }
          },
          "taxonomy_terms": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id_taxonomy_term": {
                  "type": "integer"
                },
                "name": {
                  "type": "string"
                },
                "vocabulary_id": {
                  "type": "integer"
                }
              }
            }
          },
          "vocabularies": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id_vocabulary": {
                  "type": "integer"
                },
                "name": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "meta": {
      "type": "object",
      "properties": {
        "size": {
          "type": "integer"
        }
      }
    }
  }
}