{
  "formId": "canonicalfield",
  "entity": "CanonicalField",
  "title": "Canonical Field",

  "pages": [
    {
      "pageId": "Identity",
      "pageName": "Identity",
      "sections": [
        {
          "sectionId": "identityInfo",
          "sectionName": "Canonical Field",
          "layout": { "columns": 12 },
          "fields": [
            { "Name": "CanonicalFieldId", "Type": "number", "PostData": true, "DefaultValue": 0, "IsVisible": false },
            { "Name": "CanonicalModelId", "Type": "number", "PostData": true, "DefaultValue": 0, "IsVisible": false },
            {
              "Name": "FieldPath", "Type": "string",
              "Label": "Field Path (e.g. $.PONumber)", "Required": true, "MaxLength": 500,
              "layout": { "colSpan": 6 }
            },
            {
              "Name": "FieldName", "Type": "string",
              "Label": "Field Name", "Required": true, "MaxLength": 200,
              "layout": { "colSpan": 6 }
            },
            {
              "Name": "DataType", "Type": "combobox",
              "Label": "Data Type", "DefaultValue": "String",
              "Options": ["String", "Number", "Date", "Bool", "Array", "Object"],
              "layout": { "colSpan": 4 }
            },
            {
              "Name": "IsRequired", "Type": "checkbox",
              "Label": "Required", "DefaultValue": true,
              "layout": { "colSpan": 2 }
            },
            {
              "Name": "SortOrder", "Type": "number",
              "Label": "Sort Order", "DefaultValue": 0,
              "layout": { "colSpan": 2 }
            },
            {
              "Name": "DefaultValue", "Type": "string",
              "Label": "Default Value", "MaxLength": 200,
              "layout": { "colSpan": 4 }
            },
            {
              "Name": "Description", "Type": "textarea",
              "Label": "Description",
              "layout": { "colSpan": 12 }
            }
          ]
        }
      ]
    }
  ],

  "quickActions": [],
  "rules": [],
  "serverValidations": [],

  "api": {
    "save":   "FrameWork.GOP.CanonicalField.Save",
    "update": "FrameWork.GOP.CanonicalField.Save",
    "delete": "FrameWork.GOP.CanonicalField.Delete"
  }
}
