{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stat-fi/json-schema/stat-fi-unpublished-publications-response-schema.json",
  "title": "unpublishedPublicationsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stat-fi-content-openapi.yml#/components/schemas/unpublishedPublicationsResponse",
  "type": "object",
  "properties": {
    "calendarPublications": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/calendarPublication"
      }
    },
    "count": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    }
  },
  "$defs": {
    "calendarPublication": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "workingTitle": {
          "type": "string"
        },
        "published": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "originalPlannedReleaseDate": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "plannedReleaseDate": {
          "type": "string",
          "format": "date-time"
        },
        "releaseDateChangeReason": {
          "type": "string"
        },
        "pubType": {
          "type": "string"
        },
        "referenceTime": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "producers": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "publicationTrainFrequency": {
          "type": "string"
        },
        "publicationTrainId": {
          "type": "string"
        },
        "endUserPublicationDateAccuracy": {
          "type": "string"
        },
        "plannedReleaseDateChanged": {
          "type": "boolean"
        },
        "cancelledPublication": {
          "type": "boolean"
        },
        "topics": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/topic"
          }
        },
        "statisticalPrograms": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/statisticalProgram"
          }
        },
        "cubes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/cube"
          }
        },
        "availableLanguages": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "cube": {
      "type": "object",
      "properties": {
        "cubeId": {
          "type": "string"
        },
        "cubeUrl": {
          "type": "string"
        },
        "cubeTitle": {
          "type": "string"
        },
        "cubeType": {
          "type": "string"
        },
        "statisticalProgram": {
          "$ref": "#/$defs/statisticalProgram"
        }
      }
    },
    "statisticalProgram": {
      "type": "object",
      "properties": {
        "statisticalProgramId": {
          "type": "string"
        },
        "statisticalProgramSlug": {
          "type": "string"
        },
        "statisticalProgramName": {
          "type": "string"
        }
      }
    },
    "topic": {
      "type": "object",
      "properties": {
        "topicId": {
          "type": "string"
        },
        "topicName": {
          "type": "string"
        },
        "topicSlug": {
          "type": "string"
        }
      }
    }
  }
}