{
  "title": "popupElement fields",
  "type": "object",
  "$schema": "http://json-schema.org/draft-04/schema",
  "description": "Configures fields in popup elements.",
  "properties": {
    "fieldInfos": {
      "type": "array",
      "description": "It is an array of `fieldInfo` objects representing a field/value pair displayed as a table within the popupElement. If the `fieldInfos` property is not provided, the popupElement will display whatever is specified directly in the `popupInfo.fieldInfos` property.",
      "items": {
        "type": "object",
        "$ref": "fieldInfo_schema.json"
      }
    },
    "type": {
      "type": "string",
      "enum": [
        "fields"
      ]
    }
  },
  "required": [
    "type"
  ],
  "additionalProperties": false,
  "esriDocumentation": {
    "examples": [
      {
        "title": "popupElement fields",
        "code": {
          "popupElements": [
            {
              "fieldInfos": [
                {
                  "fieldName": "rotation",
                  "visible": true,
                  "isEditable": true,
                  "label": "rotation"
                }
              ],
              "type": "fields"
            }
          ]
        }
      }
    ]
  }
}
