{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/thomson-reuters/main/json-schema/thomson-reuters-create-collection-request-schema.json",
  "title": "CreateCollectionRequest",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thomson-reuters-collection-service-openapi.yml#/components/schemas/CreateCollectionRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Label of the Collection"
    },
    "year": {
      "type": "integer",
      "description": "Relevant year of importance for the file data",
      "format": "int32"
    },
    "period": {
      "type": "integer",
      "description": "Numeric period of no specific precision",
      "format": "int32"
    },
    "blueprint": {
      "$ref": "#/$defs/PublishCollectionBlueprintDTO"
    },
    "description": {
      "type": "string"
    }
  },
  "$defs": {
    "PublishCollectionBlueprintDTO": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "description": "Unique identifier of the Blueprint",
          "format": "int32"
        },
        "version": {
          "type": "integer",
          "description": "Version of the Blueprint",
          "format": "int32"
        }
      }
    }
  }
}