{
  "title": "search layer field",
  "type": "object",
  "$schema": "http://json-schema.org/draft-04/schema",
  "description": "Contains information about an attribute field in search layer configuration.",
  "properties": {
    "exactMatch": {
      "type": "boolean",
      "description": "A Boolean defining whether or not the field is an exact match."
    },
    "name": {
      "type": "string",
      "description": "A string defining the field name."
    },
    "type": {
      "type": "string",
      "description": "A string defining the field type.",
      "enum": [
        "esriFieldTypeBlob",
        "esriFieldTypeDate",
        "esriFieldTypeDouble",
        "esriFieldTypeGUID",
        "esriFieldTypeGeometry",
        "esriFieldTypeGlobalID",
        "esriFieldTypeInteger",
        "esriFieldTypeLong",
        "esriFieldTypeOID",
        "esriFieldTypeRaster",
        "esriFieldTypeSingle",
        "esriFieldTypeSmallInteger",
        "esriFieldTypeString",
        "esriFieldTypeXML"
      ]
    }
  },
  "additionalProperties": false,
  "esriDocumentation": {
    "examples": [
      {
        "title": "search layer field",
        "code": {
          "field": {
            "name": "relationships/2/Postcode",
            "type": "esriFieldTypeString",
            "exactMatch": true
          }
        }
      }
    ]
  }
}
