{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/thomson-reuters/main/json-schema/thomson-reuters-field-schema.json",
  "title": "Field",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thomson-reuters-gosystem-tax-return-api-openapi.yml#/components/schemas/Field",
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "taxYear": {
      "type": [
        "string",
        "null"
      ]
    },
    "returnType": {
      "type": [
        "string",
        "null"
      ]
    },
    "fieldId": {
      "type": [
        "string",
        "null"
      ]
    },
    "formName": {
      "type": [
        "string",
        "null"
      ]
    },
    "fieldName": {
      "type": [
        "string",
        "null"
      ]
    },
    "fieldType": {
      "type": [
        "string",
        "null"
      ]
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "screenName": {
      "type": [
        "string",
        "null"
      ]
    },
    "screenLongName": {
      "type": [
        "string",
        "null"
      ]
    },
    "dataType": {
      "type": [
        "string",
        "null"
      ]
    },
    "dataLength": {
      "type": [
        "string",
        "null"
      ]
    },
    "dataPrecision": {
      "type": [
        "string",
        "null"
      ]
    },
    "isGroup": {
      "type": "boolean"
    },
    "required": {
      "type": "boolean"
    },
    "stringValues": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/StringValues"
      }
    }
  },
  "$defs": {
    "StringValues": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "eorgName": {
          "type": [
            "string",
            "null"
          ]
        },
        "stringText": {
          "type": [
            "string",
            "null"
          ]
        },
        "stringValue": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  }
}