{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/thomson-reuters/main/json-schema/thomson-reuters-metadata-minimal-dto-schema.json",
  "title": "MetadataMinimalDTO",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thomson-reuters-blueprint-service-openapi.yml#/components/schemas/MetadataMinimalDTO",
  "required": [
    "columns",
    "name"
  ],
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Label of the Blueprint"
    },
    "columns": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ColumnDTO"
      }
    },
    "type_id": {
      "type": "integer",
      "description": "Unique identifier of the Blueprint type",
      "format": "int32"
    }
  },
  "$defs": {
    "ColumnDTO": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Label of the column"
        },
        "type": {
          "type": "string",
          "description": "Expected data type of the column values",
          "enum": [
            "currency",
            "date",
            "number",
            "string"
          ]
        },
        "required": {
          "type": "boolean",
          "description": "Requires templates to map this column"
        },
        "index": {
          "type": "boolean"
        },
        "ontology_id": {
          "type": "integer",
          "description": "Unique identifier of the ontology this column represents",
          "format": "int32"
        }
      }
    }
  }
}