{
 "tables": [
  {
   "supportsApplyEditsWithGlobalIds": true,
   "maxRecordCount": 1000,
   "attachmentProperties": [
    {
     "fieldName": "attachmentid",
     "isEnabled": true,
     "name": "id"
    },
    {
     "fieldName": "globalid",
     "isEnabled": true,
     "name": "globalId"
    },
    {
     "fieldName": "att_name",
     "isEnabled": true,
     "name": "name"
    },
    {
     "fieldName": "data_size",
     "isEnabled": true,
     "name": "size"
    },
    {
     "fieldName": "content_type",
     "isEnabled": true,
     "name": "contentType"
    },
    {
     "fieldName": "keywords",
     "isEnabled": true,
     "name": "keywords"
    },
    {
     "fieldName": "exifinfo",
     "isEnabled": true,
     "name": "exifInfo"
    }
   ],
   "attachmentFields": [
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "attachmentid",
     "alias": "attachmentid",
     "type": "esriFieldTypeOID"
    },
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "length": 38,
     "name": "globalid",
     "alias": "globalid",
     "type": "esriFieldTypeGlobalID"
    },
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "length": 250,
     "name": "att_name",
     "alias": "att_name",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "data_size",
     "alias": "data_size",
     "type": "esriFieldTypeInteger"
    },
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "length": 150,
     "name": "content_type",
     "alias": "content_type",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "length": 2048,
     "name": "keywords",
     "alias": "keywords",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "length": 1073741822,
     "name": "exifinfo",
     "alias": "exifinfo",
     "type": "esriFieldTypeString"
    }
   ],
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "ownershipBasedAccessControlForFeatures": {
    "allowOthersToUpdate": true,
    "allowOthersToQuery": true,
    "allowOthersToDelete": true
   },
   "type": "Table",
   "syncEnabled": true,
   "supportsAttachmentsByUploadId": true,
   "relationships": [
    {
     "keyField": "parentrowid",
     "role": "esriRelRoleDestination",
     "composite": true,
     "name": "Prejuizos_AA_prejuizos_morteanimais",
     "relatedTableId": 0,
     "id": 1,
     "cardinality": "esriRelCardinalityOneToMany"
    }
   ],
   "supportsAttachmentsResizing": true,
   "id": 2,
   "supportsStatistics": true,
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "standardMaxRecordCount": 16000,
   "isDataVersioned": false,
   "templates": [],
   "supportsAdvancedQueries": true,
   "currentVersion": 11.1,
   "advancedEditingCapabilities": {
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportsReturnEditResults": true,
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "objectIdField": "objectid",
   "supportsQuantizationEditMode": true,
   "name": "prejuizos_morteanimais",
   "displayField": "objectid",
   "supportsCalculate": true,
   "fields": [
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "objectid",
     "length": 4,
     "alias": "ObjectID",
     "type": "esriFieldTypeOID"
    },
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "globalid",
     "length": 38,
     "alias": "GlobalID",
     "type": "esriFieldTypeGlobalID"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "service_df988c5f287c495893dd4ccb35d673fb_cvd_especie",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "Asinina",
        "name": "Asinina"
       },
       {
        "code": "Bovina - reprodutores",
        "name": "Bovina - reprodutores"
       },
       {
        "code": "Bovina - nreprodutores",
        "name": "Bovina - não reprodutores"
       },
       {
        "code": "Caprina",
        "name": "Caprina"
       },
       {
        "code": "Ovina",
        "name": "Ovina"
       },
       {
        "code": "Enxame",
        "name": "Enxame"
       },
       {
        "code": "Muar",
        "name": "Muar"
       },
       {
        "code": "Aves",
        "name": "Aves (galinhas, patos\u2026)"
       },
       {
        "code": "Coelhos",
        "name": "Coelhos"
       }
      ]
     },
     "name": "especie",
     "length": 120,
     "alias": "Espécie",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "descricaoespecie",
     "length": 70,
     "alias": "Descrição",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "numeroanimais",
     "alias": "Número",
     "type": "esriFieldTypeDouble"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "vunitanimal",
     "alias": "Valor Unitário (em euros)",
     "type": "esriFieldTypeDouble"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "montanteanimal",
     "alias": "Montante (em euros)",
     "type": "esriFieldTypeDouble"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "parentrowid",
     "length": 38,
     "alias": "ParentRowID",
     "type": "esriFieldTypeGUID"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "created_user",
     "length": 255,
     "alias": "created_user",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "created_date",
     "length": 29,
     "alias": "created_date",
     "type": "esriFieldTypeDate"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "last_edited_user",
     "length": 255,
     "alias": "last_edited_user",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "last_edited_date",
     "length": 29,
     "alias": "last_edited_date",
     "type": "esriFieldTypeDate"
    }
   ],
   "maxRecordCountFactor": 1,
   "dateFieldsTimeReference": {
    "respectsDaylightSaving": false,
    "timeZone": "UTC"
   },
   "supportsFieldDescriptionProperty": true,
   "useStandardizedQueries": true,
   "globalIdField": "globalid",
   "description": "",
   "syncCanReturnChanges": true,
   "supportsAsyncDelete": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin"
   ],
   "supportsRollbackOnFailureParameter": true,
   "isDataReplicaTracked": true,
   "indexes": [
    {
     "name": "r1054_sde_rowid_uk",
     "isUnique": false,
     "description": "",
     "fields": "objectid",
     "isAscending": true
    },
    {
     "name": "uuid_1054",
     "isUnique": true,
     "description": "",
     "fields": "globalid",
     "isAscending": true
    }
   ],
   "editFieldsInfo": {
    "editDateField": "last_edited_date",
    "editorField": "last_edited_user",
    "creationDateField": "created_date",
    "creatorField": "created_user"
   },
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "hasAttachments": true,
   "advancedQueryCapabilities": {
    "supportsSqlExpression": true,
    "supportsStatistics": true,
    "supportsQueryWithResultType": true,
    "supportsOrderBy": true,
    "supportsQueryRelatedPagination": true,
    "supportsLod": false,
    "supportsQueryWithCacheHint": false,
    "supportsQueryWithDatumTransformation": true,
    "supportsQueryAttachmentsWithReturnUrl": true,
    "supportsQueryAttachments": true,
    "supportsQueryDateBins": false,
    "supportsQueryAttachmentsCountOnly": true,
    "supportsReturningQueryExtent": true,
    "supportsOrderByOnlyOnLayerFields": false,
    "supportsOutFieldSqlExpression": true,
    "supportsQueryWithLodSR": false,
    "supportsTopFeaturesQuery": true,
    "supportsPaginationOnAggregatedQueries": true,
    "supportsMaxRecordCountFactor": true,
    "supportsPagination": true,
    "supportsDistinct": true,
    "supportsQueryAnalytic": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true
   },
   "supportsValidateSQL": true,
   "types": [],
   "supportsCoordinatesQuantization": true,
   "capabilities": "Create,Editing,Sync,Uploads",
   "supportsAppend": true,
   "supportsExceedsLimitStatistics": true,
   "defaultVisibility": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsAsync": true,
    "supportsLinearRegression": true,
    "supportsPercentileAnalytic": false
   },
   "hasMetadata": false,
   "supportedAppendFormats": "shapefile,geojson,csv,featureCollection,excel",
   "tileMaxRecordCount": 4000,
   "typeIdField": "",
   "supportsASyncCalculate": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "propagateVisibleFields": true,
   "sqlParserVersion": "PG_10.9.1",
   "copyrightText": "",
   "supportsLayerOverrides": true
  },
  {
   "supportsApplyEditsWithGlobalIds": true,
   "maxRecordCount": 1000,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "ownershipBasedAccessControlForFeatures": {
    "allowOthersToUpdate": true,
    "allowOthersToQuery": true,
    "allowOthersToDelete": true
   },
   "type": "Table",
   "syncEnabled": true,
   "supportsAttachmentsByUploadId": true,
   "relationships": [
    {
     "keyField": "parentrowid",
     "role": "esriRelRoleDestination",
     "composite": true,
     "name": "Prejuizos_AA_prejuizos_necessidadesalim",
     "relatedTableId": 0,
     "id": 2,
     "cardinality": "esriRelCardinalityOneToMany"
    }
   ],
   "supportsAttachmentsResizing": true,
   "id": 3,
   "supportsStatistics": true,
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "standardMaxRecordCount": 16000,
   "isDataVersioned": false,
   "templates": [],
   "supportsAdvancedQueries": true,
   "currentVersion": 11.1,
   "advancedEditingCapabilities": {
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportsReturnEditResults": true,
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "objectIdField": "objectid",
   "supportsQuantizationEditMode": true,
   "name": "prejuizos_necessidadesalim",
   "displayField": "objectid",
   "supportsCalculate": true,
   "fields": [
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "objectid",
     "length": 4,
     "alias": "ObjectID",
     "type": "esriFieldTypeOID"
    },
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "globalid",
     "length": 38,
     "alias": "GlobalID",
     "type": "esriFieldTypeGlobalID"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "service_df988c5f287c495893dd4ccb35d673fb_cvd_especienecalim",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "Asinina",
        "name": "Asinina"
       },
       {
        "code": "Bovina - reprodutores",
        "name": "Bovina - reprodutores"
       },
       {
        "code": "Bovina - nreprodutores",
        "name": "Bovina - não reprodutores"
       },
       {
        "code": "Caprina",
        "name": "Caprina"
       },
       {
        "code": "Ovina",
        "name": "Ovina"
       },
       {
        "code": "Enxame",
        "name": "Enxame"
       },
       {
        "code": "Muar",
        "name": "Muar"
       },
       {
        "code": "Aves",
        "name": "Aves (galinhas, patos\u2026)"
       },
       {
        "code": "Coelhos",
        "name": "Coelhos"
       }
      ]
     },
     "name": "especienecalim",
     "length": 120,
     "alias": "Espécie",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "descricaonecalim",
     "length": 70,
     "alias": "Descrição",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "nranimaisnecalim",
     "length": 70,
     "alias": "Número",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "mesesnecalim",
     "length": 80,
     "alias": "Meses",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "service_df988c5f287c495893dd4ccb35d673fb_cvd_alimentacao",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "Palha",
        "name": "Palha trigo(ton)"
       },
       {
        "code": "F150",
        "name": "Fardo forragem 150kg"
       },
       {
        "code": "F30",
        "name": "Fardo forragem 30kg"
       },
       {
        "code": "F20",
        "name": "Fardo palha 20kg"
       },
       {
        "code": "ConcentradoKg",
        "name": "Concentrado (Kg)"
       }
      ]
     },
     "name": "alimentacao",
     "length": 40,
     "alias": "Identifique o alimento necessário",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "quantalimento",
     "alias": "Indique a quantidade de alimento",
     "type": "esriFieldTypeDouble"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "vunitanimal2",
     "alias": "Valor Unitário (em euros)",
     "type": "esriFieldTypeDouble"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "montantenecalim",
     "alias": "Montante (em euros)",
     "type": "esriFieldTypeDouble"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "parentrowid",
     "length": 38,
     "alias": "ParentRowID",
     "type": "esriFieldTypeGUID"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "created_user",
     "length": 255,
     "alias": "created_user",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "created_date",
     "length": 29,
     "alias": "created_date",
     "type": "esriFieldTypeDate"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "last_edited_user",
     "length": 255,
     "alias": "last_edited_user",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "last_edited_date",
     "length": 29,
     "alias": "last_edited_date",
     "type": "esriFieldTypeDate"
    }
   ],
   "maxRecordCountFactor": 1,
   "dateFieldsTimeReference": {
    "respectsDaylightSaving": false,
    "timeZone": "UTC"
   },
   "supportsFieldDescriptionProperty": true,
   "useStandardizedQueries": true,
   "globalIdField": "globalid",
   "description": "",
   "syncCanReturnChanges": true,
   "supportsAsyncDelete": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin"
   ],
   "supportsRollbackOnFailureParameter": true,
   "isDataReplicaTracked": true,
   "indexes": [
    {
     "name": "r1056_sde_rowid_uk",
     "isUnique": false,
     "description": "",
     "fields": "objectid",
     "isAscending": true
    },
    {
     "name": "uuid_1056",
     "isUnique": true,
     "description": "",
     "fields": "globalid",
     "isAscending": true
    }
   ],
   "editFieldsInfo": {
    "editDateField": "last_edited_date",
    "editorField": "last_edited_user",
    "creationDateField": "created_date",
    "creatorField": "created_user"
   },
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "hasAttachments": false,
   "advancedQueryCapabilities": {
    "supportsSqlExpression": true,
    "supportsStatistics": true,
    "supportsQueryWithResultType": true,
    "supportsOrderBy": true,
    "supportsQueryRelatedPagination": true,
    "supportsLod": false,
    "supportsQueryWithCacheHint": false,
    "supportsQueryWithDatumTransformation": true,
    "supportsQueryAttachmentsWithReturnUrl": true,
    "supportsQueryAttachments": true,
    "supportsQueryDateBins": false,
    "supportsQueryAttachmentsCountOnly": true,
    "supportsReturningQueryExtent": true,
    "supportsOrderByOnlyOnLayerFields": false,
    "supportsOutFieldSqlExpression": true,
    "supportsQueryWithLodSR": false,
    "supportsTopFeaturesQuery": true,
    "supportsPaginationOnAggregatedQueries": true,
    "supportsMaxRecordCountFactor": true,
    "supportsPagination": true,
    "supportsDistinct": true,
    "supportsQueryAnalytic": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true
   },
   "supportsValidateSQL": true,
   "types": [],
   "supportsCoordinatesQuantization": true,
   "capabilities": "Create,Editing,Sync,Uploads",
   "supportsAppend": true,
   "supportsExceedsLimitStatistics": true,
   "defaultVisibility": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsAsync": true,
    "supportsLinearRegression": true,
    "supportsPercentileAnalytic": false
   },
   "hasMetadata": false,
   "supportedAppendFormats": "shapefile,geojson,csv,featureCollection,excel",
   "tileMaxRecordCount": 4000,
   "typeIdField": "",
   "supportsASyncCalculate": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "propagateVisibleFields": true,
   "sqlParserVersion": "PG_10.9.1",
   "copyrightText": "",
   "supportsLayerOverrides": true
  },
  {
   "supportsApplyEditsWithGlobalIds": true,
   "maxRecordCount": 1000,
   "attachmentProperties": [
    {
     "fieldName": "attachmentid",
     "isEnabled": true,
     "name": "id"
    },
    {
     "fieldName": "globalid",
     "isEnabled": true,
     "name": "globalId"
    },
    {
     "fieldName": "att_name",
     "isEnabled": true,
     "name": "name"
    },
    {
     "fieldName": "data_size",
     "isEnabled": true,
     "name": "size"
    },
    {
     "fieldName": "content_type",
     "isEnabled": true,
     "name": "contentType"
    },
    {
     "fieldName": "keywords",
     "isEnabled": true,
     "name": "keywords"
    },
    {
     "fieldName": "exifinfo",
     "isEnabled": true,
     "name": "exifInfo"
    }
   ],
   "attachmentFields": [
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "attachmentid",
     "alias": "attachmentid",
     "type": "esriFieldTypeOID"
    },
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "length": 38,
     "name": "globalid",
     "alias": "globalid",
     "type": "esriFieldTypeGlobalID"
    },
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "length": 250,
     "name": "att_name",
     "alias": "att_name",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "data_size",
     "alias": "data_size",
     "type": "esriFieldTypeInteger"
    },
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "length": 150,
     "name": "content_type",
     "alias": "content_type",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "length": 2048,
     "name": "keywords",
     "alias": "keywords",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "length": 1073741822,
     "name": "exifinfo",
     "alias": "exifinfo",
     "type": "esriFieldTypeString"
    }
   ],
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "ownershipBasedAccessControlForFeatures": {
    "allowOthersToUpdate": true,
    "allowOthersToQuery": true,
    "allowOthersToDelete": true
   },
   "type": "Table",
   "syncEnabled": true,
   "supportsAttachmentsByUploadId": true,
   "relationships": [
    {
     "keyField": "parentrowid",
     "role": "esriRelRoleDestination",
     "composite": true,
     "name": "Prejuizos_AA_prejuizos_necessidadesrepcapital",
     "relatedTableId": 0,
     "id": 3,
     "cardinality": "esriRelCardinalityOneToMany"
    }
   ],
   "supportsAttachmentsResizing": true,
   "id": 4,
   "supportsStatistics": true,
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "standardMaxRecordCount": 16000,
   "isDataVersioned": false,
   "templates": [],
   "supportsAdvancedQueries": true,
   "currentVersion": 11.1,
   "advancedEditingCapabilities": {
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportsReturnEditResults": true,
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "objectIdField": "objectid",
   "supportsQuantizationEditMode": true,
   "name": "prejuizos_necessidadesrepcapital",
   "displayField": "objectid",
   "supportsCalculate": true,
   "fields": [
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "objectid",
     "length": 4,
     "alias": "ObjectID",
     "type": "esriFieldTypeOID"
    },
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "globalid",
     "length": 38,
     "alias": "GlobalID",
     "type": "esriFieldTypeGlobalID"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "service_df988c5f287c495893dd4ccb35d673fb_cvd_outros",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "Culturas temporárias",
        "name": "Culturas temporárias"
       },
       {
        "code": "Plantações plurianuais",
        "name": "Plantações plurianuais"
       },
       {
        "code": "Edificios e construções",
        "name": "Edificios e construções"
       },
       {
        "code": "Máquinas e equipamentos",
        "name": "Máquinas e equipamentos"
       }
      ]
     },
     "name": "outros",
     "length": 120,
     "alias": "Tipo de Capital",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "prejuizocapital",
     "length": 255,
     "alias": "Prejuízo",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "descricaonecrepcap",
     "length": 70,
     "alias": "Descrição",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "localnecrepcap",
     "length": 3,
     "alias": "localnecrepcap",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "quantidade",
     "alias": "Quantidade",
     "type": "esriFieldTypeDouble"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "tipounidade",
     "length": 255,
     "alias": "tipounidade",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "unidade",
     "length": 10,
     "alias": "Unidade",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "valoroutros",
     "alias": "Valor Unitário (em euros)",
     "type": "esriFieldTypeDouble"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "montanteoutros",
     "alias": "Montante (em euros)",
     "type": "esriFieldTypeDouble"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "parentrowid",
     "length": 38,
     "alias": "ParentRowID",
     "type": "esriFieldTypeGUID"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "created_user",
     "length": 255,
     "alias": "created_user",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "created_date",
     "length": 29,
     "alias": "created_date",
     "type": "esriFieldTypeDate"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "last_edited_user",
     "length": 255,
     "alias": "last_edited_user",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "last_edited_date",
     "length": 29,
     "alias": "last_edited_date",
     "type": "esriFieldTypeDate"
    }
   ],
   "maxRecordCountFactor": 1,
   "dateFieldsTimeReference": {
    "respectsDaylightSaving": false,
    "timeZone": "UTC"
   },
   "supportsFieldDescriptionProperty": true,
   "useStandardizedQueries": true,
   "globalIdField": "globalid",
   "description": "",
   "syncCanReturnChanges": true,
   "supportsAsyncDelete": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin"
   ],
   "supportsRollbackOnFailureParameter": true,
   "isDataReplicaTracked": true,
   "indexes": [
    {
     "name": "r1057_sde_rowid_uk",
     "isUnique": false,
     "description": "",
     "fields": "objectid",
     "isAscending": true
    },
    {
     "name": "uuid_1057",
     "isUnique": true,
     "description": "",
     "fields": "globalid",
     "isAscending": true
    }
   ],
   "editFieldsInfo": {
    "editDateField": "last_edited_date",
    "editorField": "last_edited_user",
    "creationDateField": "created_date",
    "creatorField": "created_user"
   },
   "htmlPopupType": "esriServerHTMLPopupTypeNone",
   "hasAttachments": true,
   "advancedQueryCapabilities": {
    "supportsSqlExpression": true,
    "supportsStatistics": true,
    "supportsQueryWithResultType": true,
    "supportsOrderBy": true,
    "supportsQueryRelatedPagination": true,
    "supportsLod": false,
    "supportsQueryWithCacheHint": false,
    "supportsQueryWithDatumTransformation": true,
    "supportsQueryAttachmentsWithReturnUrl": true,
    "supportsQueryAttachments": true,
    "supportsQueryDateBins": false,
    "supportsQueryAttachmentsCountOnly": true,
    "supportsReturningQueryExtent": true,
    "supportsOrderByOnlyOnLayerFields": false,
    "supportsOutFieldSqlExpression": true,
    "supportsQueryWithLodSR": false,
    "supportsTopFeaturesQuery": true,
    "supportsPaginationOnAggregatedQueries": true,
    "supportsMaxRecordCountFactor": true,
    "supportsPagination": true,
    "supportsDistinct": true,
    "supportsQueryAnalytic": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true
   },
   "supportsValidateSQL": true,
   "types": [],
   "supportsCoordinatesQuantization": true,
   "capabilities": "Create,Editing,Sync,Uploads",
   "supportsAppend": true,
   "supportsExceedsLimitStatistics": true,
   "defaultVisibility": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsAsync": true,
    "supportsLinearRegression": true,
    "supportsPercentileAnalytic": false
   },
   "hasMetadata": false,
   "supportedAppendFormats": "shapefile,geojson,csv,featureCollection,excel",
   "tileMaxRecordCount": 4000,
   "typeIdField": "",
   "supportsASyncCalculate": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "propagateVisibleFields": true,
   "sqlParserVersion": "PG_10.9.1",
   "copyrightText": "",
   "supportsLayerOverrides": true
  }
 ],
 "layers": [
  {
   "extent": {
    "ymin": -90,
    "xmin": -180,
    "ymax": 90,
    "xmax": 180,
    "spatialReference": {"wkid": 4326},
    "type": "extent"
   },
   "supportsApplyEditsWithGlobalIds": true,
   "maxRecordCount": 1000,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "ownershipBasedAccessControlForFeatures": {
    "allowOthersToUpdate": true,
    "allowOthersToQuery": true,
    "allowOthersToDelete": true
   },
   "type": "Feature Layer",
   "hasStaticData": false,
   "syncEnabled": true,
   "supportsAttachmentsByUploadId": true,
   "relationships": [
    {
     "keyField": "uniquerowid",
     "role": "esriRelRoleOrigin",
     "composite": true,
     "name": "Prejuizos_AA_prejuizos_parcelasafetadas",
     "relatedTableId": 1,
     "id": 0,
     "cardinality": "esriRelCardinalityOneToMany"
    },
    {
     "keyField": "uniquerowid",
     "role": "esriRelRoleOrigin",
     "composite": true,
     "name": "Prejuizos_AA_prejuizos_morteanimais",
     "relatedTableId": 2,
     "id": 1,
     "cardinality": "esriRelCardinalityOneToMany"
    },
    {
     "keyField": "uniquerowid",
     "role": "esriRelRoleOrigin",
     "composite": true,
     "name": "Prejuizos_AA_prejuizos_necessidadesalim",
     "relatedTableId": 3,
     "id": 2,
     "cardinality": "esriRelCardinalityOneToMany"
    },
    {
     "keyField": "uniquerowid",
     "role": "esriRelRoleOrigin",
     "composite": true,
     "name": "Prejuizos_AA_prejuizos_necessidadesrepcapital",
     "relatedTableId": 4,
     "id": 3,
     "cardinality": "esriRelCardinalityOneToMany"
    }
   ],
   "supportsAttachmentsResizing": true,
   "id": 0,
   "supportsStatistics": true,
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "standardMaxRecordCount": 16000,
   "isDataVersioned": false,
   "templates": [
    {
     "name": "New Feature",
     "description": "",
     "prototype": {
      "attributes": {}
     }
    }
   ],
   "supportsAdvancedQueries": true,
   "currentVersion": 11.1,
   "hasZ": false,
   "advancedEditingCapabilities": {
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportsReturnEditResults": true,
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "objectIdField": "objectid",
   "supportsQuantizationEditMode": true,
   "name": "PRJS",
   "displayField": "objectid",
   "supportsCalculate": true,
   "fields": [
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "objectid",
     "length": 4,
     "alias": "ObjectID",
     "type": "esriFieldTypeOID"
    },
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "globalid",
     "length": 38,
     "alias": "GlobalID",
     "type": "esriFieldTypeGlobalID"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "uniquerowid",
     "length": 38,
     "alias": "RowID",
     "type": "esriFieldTypeGUID"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "service_df988c5f287c495893dd4ccb35d673fb_cvd_ocorrencia",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "Incêndio",
        "name": "Incêndio"
       },
       {
        "code": "Cheia",
        "name": "Cheia"
       },
       {
        "code": "Chuvada",
        "name": "Chuvada"
       },
       {
        "code": "Ciclone",
        "name": "Ciclone"
       },
       {
        "code": "Enxurrada",
        "name": "Enxurrada"
       },
       {
        "code": "Geada",
        "name": "Geada"
       },
       {
        "code": "Granizo",
        "name": "Granizo"
       },
       {
        "code": "Nevada",
        "name": "Nevada"
       },
       {
        "code": "Seca",
        "name": "Seca"
       }
      ]
     },
     "name": "ocorrencia",
     "length": 255,
     "alias": "Ocorrência:",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "dataocorrencia",
     "length": 29,
     "alias": "Data da ocorrência:",
     "type": "esriFieldTypeDate"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "service_df988c5f287c495893dd4ccb35d673fb_cvd_apoio",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "1",
        "name": "Candidatura ao Subsídio excecional para apoio aos agricultores"
       },
       {
        "code": "2",
        "name": "Declaração de Prejuízos para o destabelecimento do potencial produtivo agrícola de apoio à atividade agrícola"
       }
      ]
     },
     "name": "apoio",
     "length": 255,
     "alias": "Selecione o apoio que se pretende candidatar",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "service_df988c5f287c495893dd4ccb35d673fb_cvd_autor",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "Próprio",
        "name": "Próprio"
       },
       {
        "code": "Comissão de Coordenação",
        "name": "Comissão de Coordenação"
       },
       {
        "code": "Câmara Municipal",
        "name": "Câmara Municipal"
       },
       {
        "code": "Comunidade Intermunicipal",
        "name": "Comunidade Intermunicipal"
       },
       {
        "code": "Junta de Freguesia",
        "name": "Junta de Freguesia"
       },
       {
        "code": "Organização de Produtores",
        "name": "Organização de Produtores"
       },
       {
        "code": "Consultor",
        "name": "Consultor"
       }
      ]
     },
     "name": "autor",
     "length": 255,
     "alias": "Identifique o responsável pelo preenchimento do formulário",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "idanterior",
     "length": 255,
     "alias": "ID do registo anterior",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "nomeagricultor",
     "length": 120,
     "alias": "Nome:",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "nif",
     "length": 9,
     "alias": "NIF:",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "idocorrencianif",
     "length": 120,
     "alias": "idocorrencianif",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "nifap",
     "length": 10,
     "alias": "nifap",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "morada",
     "length": 120,
     "alias": "Morada:",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "codpostal",
     "length": 8,
     "alias": "Código Postal:",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "localidade",
     "length": 70,
     "alias": "Localidade:",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "contato",
     "length": 9,
     "alias": "Contacto telefónico:",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "e_email",
     "length": 90,
     "alias": "e-mail:",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "ibam",
     "length": 255,
     "alias": "IBAN para pagamento",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "valid_e_email",
     "length": 90,
     "alias": "CLIQUE AQUI para aceder ao GUIA DE APOIO.",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "nomeexploracao",
     "length": 120,
     "alias": "Nome:",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "localidadeexploracao",
     "length": 70,
     "alias": "Localidade:",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "service_df988c5f287c495893dd4ccb35d673fb_cvd_concelho",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "ALFÂNDEGA DA FÉ",
        "name": "ALFÂNDEGA DA FÉ"
       },
       {
        "code": "ALIJÓ",
        "name": "ALIJÓ"
       },
       {
        "code": "AMARANTE",
        "name": "AMARANTE"
       },
       {
        "code": "AMARES",
        "name": "AMARES"
       },
       {
        "code": "ARCOS DE VALDEVEZ",
        "name": "ARCOS DE VALDEVEZ"
       },
       {
        "code": "ARMAMAR",
        "name": "ARMAMAR"
       },
       {
        "code": "AROUCA",
        "name": "AROUCA"
       },
       {
        "code": "BAIÃO",
        "name": "BAIÃO"
       },
       {
        "code": "BARCELOS",
        "name": "BARCELOS"
       },
       {
        "code": "BOTICAS",
        "name": "BOTICAS"
       },
       {
        "code": "BRAGA",
        "name": "BRAGA"
       },
       {
        "code": "BRAGANÇA",
        "name": "BRAGANÇA"
       },
       {
        "code": "CABECEIRAS DE BASTO",
        "name": "CABECEIRAS DE BASTO"
       },
       {
        "code": "CAMINHA",
        "name": "CAMINHA"
       },
       {
        "code": "CARRAZEDA DE ANSIÃES",
        "name": "CARRAZEDA DE ANSIÃES"
       },
       {
        "code": "CASTELO DE PAIVA",
        "name": "CASTELO DE PAIVA"
       },
       {
        "code": "CELORICO DE BASTO",
        "name": "CELORICO DE BASTO"
       },
       {
        "code": "CHAVES",
        "name": "CHAVES"
       },
       {
        "code": "CINFÃES",
        "name": "CINFÃES"
       },
       {
        "code": "ESPINHO",
        "name": "ESPINHO"
       },
       {
        "code": "ESPOSENDE",
        "name": "ESPOSENDE"
       },
       {
        "code": "FAFE",
        "name": "FAFE"
       },
       {
        "code": "FELGUEIRAS",
        "name": "FELGUEIRAS"
       },
       {
        "code": "FREIXO DE ESPADA À CINTA",
        "name": "FREIXO DE ESPADA À CINTA"
       },
       {
        "code": "GONDOMAR",
        "name": "GONDOMAR"
       },
       {
        "code": "GUIMARÃES",
        "name": "GUIMARÃES"
       },
       {
        "code": "LAMEGO",
        "name": "LAMEGO"
       },
       {
        "code": "LOUSADA",
        "name": "LOUSADA"
       },
       {
        "code": "MACEDO DE CAVALEIROS",
        "name": "MACEDO DE CAVALEIROS"
       },
       {
        "code": "MAIA",
        "name": "MAIA"
       },
       {
        "code": "MARCO DE CANAVESES",
        "name": "MARCO DE CANAVESES"
       },
       {
        "code": "MATOSINHOS",
        "name": "MATOSINHOS"
       },
       {
        "code": "MELGAÇO",
        "name": "MELGAÇO"
       },
       {
        "code": "MESÃO FRIO",
        "name": "MESÃO FRIO"
       },
       {
        "code": "MIRANDA DO DOURO",
        "name": "MIRANDA DO DOURO"
       },
       {
        "code": "MIRANDELA",
        "name": "MIRANDELA"
       },
       {
        "code": "MOGADOURO",
        "name": "MOGADOURO"
       },
       {
        "code": "MOIMENTA DA BEIRA",
        "name": "MOIMENTA DA BEIRA"
       },
       {
        "code": "MONÇÃO",
        "name": "MONÇÃO"
       },
       {
        "code": "MONDIM DE BASTO",
        "name": "MONDIM DE BASTO"
       },
       {
        "code": "MONTALEGRE",
        "name": "MONTALEGRE"
       },
       {
        "code": "MURÇA",
        "name": "MURÇA"
       },
       {
        "code": "OLIVEIRA DE AZEMÉIS",
        "name": "OLIVEIRA DE AZEMÉIS"
       },
       {
        "code": "PAÇOS DE FERREIRA",
        "name": "PAÇOS DE FERREIRA"
       },
       {
        "code": "PAREDES",
        "name": "PAREDES"
       },
       {
        "code": "PAREDES DE COURA",
        "name": "PAREDES DE COURA"
       },
       {
        "code": "PENAFIEL",
        "name": "PENAFIEL"
       },
       {
        "code": "PENEDONO",
        "name": "PENEDONO"
       },
       {
        "code": "PESO DA RÉGUA",
        "name": "PESO DA RÉGUA"
       },
       {
        "code": "PONTE DA BARCA",
        "name": "PONTE DA BARCA"
       },
       {
        "code": "PONTE DE LIMA",
        "name": "PONTE DE LIMA"
       },
       {
        "code": "PORTO",
        "name": "PORTO"
       },
       {
        "code": "PÓVOA DE LANHOSO",
        "name": "PÓVOA DE LANHOSO"
       },
       {
        "code": "PÓVOA DE VARZIM",
        "name": "PÓVOA DE VARZIM"
       },
       {
        "code": "RESENDE",
        "name": "RESENDE"
       },
       {
        "code": "RIBEIRA DE PENA",
        "name": "RIBEIRA DE PENA"
       },
       {
        "code": "SABROSA",
        "name": "SABROSA"
       },
       {
        "code": "SANTA MARIA DA FEIRA",
        "name": "SANTA MARIA DA FEIRA"
       },
       {
        "code": "SANTA MARTA DE PENAGUIÃO",
        "name": "SANTA MARTA DE PENAGUIÃO"
       },
       {
        "code": "SANTO TIRSO",
        "name": "SANTO TIRSO"
       },
       {
        "code": "SÃO JOÃO DA MADEIRA",
        "name": "SÃO JOÃO DA MADEIRA"
       },
       {
        "code": "SÃO JOÃO DA PESQUEIRA",
        "name": "SÃO JOÃO DA PESQUEIRA"
       },
       {
        "code": "SERNANCELHE",
        "name": "SERNANCELHE"
       },
       {
        "code": "TABUAÇO",
        "name": "TABUAÇO"
       },
       {
        "code": "TAROUCA",
        "name": "TAROUCA"
       },
       {
        "code": "TERRAS DE BOURO",
        "name": "TERRAS DE BOURO"
       },
       {
        "code": "TORRE DE MONCORVO",
        "name": "TORRE DE MONCORVO"
       },
       {
        "code": "TROFA",
        "name": "TROFA"
       },
       {
        "code": "VALE DE CAMBRA",
        "name": "VALE DE CAMBRA"
       },
       {
        "code": "VALENÇA",
        "name": "VALENÇA"
       },
       {
        "code": "VALONGO",
        "name": "VALONGO"
       },
       {
        "code": "VALPAÇOS",
        "name": "VALPAÇOS"
       },
       {
        "code": "VIANA DO CASTELO",
        "name": "VIANA DO CASTELO"
       },
       {
        "code": "VIEIRA DO MINHO",
        "name": "VIEIRA DO MINHO"
       },
       {
        "code": "VILA DO CONDE",
        "name": "VILA DO CONDE"
       },
       {
        "code": "VILA FLOR",
        "name": "VILA FLOR"
       },
       {
        "code": "VILA NOVA DE CERVEIRA",
        "name": "VILA NOVA DE CERVEIRA"
       },
       {
        "code": "VILA NOVA DE FAMALICÃO",
        "name": "VILA NOVA DE FAMALICÃO"
       },
       {
        "code": "VILA NOVA DE FOZ CÔA",
        "name": "VILA NOVA DE FOZ CÔA"
       },
       {
        "code": "VILA NOVA DE GAIA",
        "name": "VILA NOVA DE GAIA"
       },
       {
        "code": "VILA POUCA DE AGUIAR",
        "name": "VILA POUCA DE AGUIAR"
       },
       {
        "code": "VILA REAL",
        "name": "VILA REAL"
       },
       {
        "code": "VILA VERDE",
        "name": "VILA VERDE"
       },
       {
        "code": "VIMIOSO",
        "name": "VIMIOSO"
       },
       {
        "code": "VINHAIS",
        "name": "VINHAIS"
       },
       {
        "code": "VIZELA",
        "name": "VIZELA"
       }
      ]
     },
     "name": "concelho",
     "length": 70,
     "alias": "Concelho:",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "freguesia",
     "length": 80,
     "alias": "Freguesia:",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "delegacao",
     "length": 120,
     "alias": "Divisão:",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "emaildelegacao",
     "length": 120,
     "alias": "emaildelegacao",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "observacoes",
     "length": 255,
     "alias": "Observações:",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "service_df988c5f287c495893dd4ccb35d673fb_cvd_seguroseapoios",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "Sim",
        "name": "Sim"
       },
       {
        "code": "Não",
        "name": "Não"
       }
      ]
     },
     "name": "seguroseapoios",
     "length": 3,
     "alias": "Beneficiou de apoios públicos para os prejuizos em análise?",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "quaisapoios",
     "length": 200,
     "alias": "Em caso afirmativo, Indique quais:",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "service_df988c5f287c495893dd4ccb35d673fb_cvd_seguro",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "Sim",
        "name": "Sim"
       },
       {
        "code": "Não",
        "name": "Não"
       }
      ]
     },
     "name": "seguro",
     "length": 3,
     "alias": "Seguro?",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "seguradora",
     "length": 70,
     "alias": "Seguradora:",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "noapolice",
     "length": 30,
     "alias": "Nº de Apolice:",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "valorpremio",
     "alias": "Valor do Prémio (em euros):",
     "type": "esriFieldTypeDouble"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "indemnizacao",
     "length": 30,
     "alias": "Indemnizacão (em euros):",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "totalmontantes",
     "alias": "Sub-total Morte de Animais (em euros):",
     "type": "esriFieldTypeInteger"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "totalmontantesnecalim",
     "alias": "Sub-total Alimentação Animal (em euros):",
     "type": "esriFieldTypeDouble"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "totaloutros",
     "alias": "Sub-total Capital Produtivo (em euros):",
     "type": "esriFieldTypeInteger"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "totalfinal",
     "alias": "Total do Valor de Prejuízo Declarado (em euros):",
     "type": "esriFieldTypeInteger"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "service_df988c5f287c495893dd4ccb35d673fb_cvd_conhecimento",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "conhecimento",
        "name": "As declarações prestadas correspondem à verdade e não omitem qualquer informação, tomando conhecimento de que devo comunicar qualquer alteração da informação prestada junto da Unidade Territorial da CCDR NORTE."
       }
      ]
     },
     "name": "conhecimento",
     "length": 255,
     "alias": "Declaração de conhecimento",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "service_df988c5f287c495893dd4ccb35d673fb_cvd_dados",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "dados",
        "name": "Autorizo a Comissão de Coordenação e Desenvolvimento Regional do Norte, I.P. (CCDRN,I.P.), a utilizar os meus dados para efeitos de atribuição do apoio solicitado."
       }
      ]
     },
     "name": "dados",
     "length": 255,
     "alias": "Declaração de dados pessoais",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": {
      "name": "service_df988c5f287c495893dd4ccb35d673fb_cvd_estado",
      "type": "codedValue",
      "codedValues": [
       {
        "code": "Em analise",
        "name": "Em analise"
       },
       {
        "code": "Analisado",
        "name": "Analisado"
       },
       {
        "code": "Validado",
        "name": "Validado"
       },
       {
        "code": "Invalidado",
        "name": "Invalidado"
       }
      ]
     },
     "name": "estado",
     "length": 255,
     "alias": "estado",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "created_user",
     "length": 255,
     "alias": "created_user",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "created_date",
     "length": 29,
     "alias": "created_date",
     "type": "esriFieldTypeDate"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "last_edited_user",
     "length": 255,
     "alias": "last_edited_user",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "last_edited_date",
     "length": 29,
     "alias": "last_edited_date",
     "type": "esriFieldTypeDate"
    }
   ],
   "maxRecordCountFactor": 1,
   "dateFieldsTimeReference": {
    "respectsDaylightSaving": false,
    "timeZone": "UTC"
   },
   "supportsFieldDescriptionProperty": true,
   "hasM": false,
   "allowGeometryUpdates": true,
   "useStandardizedQueries": true,
   "globalIdField": "globalid",
   "description": "",
   "syncCanReturnChanges": true,
   "supportsAsyncDelete": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin"
   ],
   "supportsRollbackOnFailureParameter": true,
   "isDataReplicaTracked": true,
   "standardMaxRecordCountNoGeometry": 16000,
   "indexes": [
    {
     "name": "a770_ix1",
     "isUnique": false,
     "description": "",
     "fields": "shape",
     "isAscending": true
    },
    {
     "name": "r1052_sde_rowid_uk",
     "isUnique": false,
     "description": "",
     "fields": "objectid",
     "isAscending": true
    },
    {
     "name": "uuid_1052",
     "isUnique": true,
     "description": "",
     "fields": "globalid",
     "isAscending": true
    }
   ],
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "editFieldsInfo": {
    "editDateField": "last_edited_date",
    "editorField": "last_edited_user",
    "creationDateField": "created_date",
    "creatorField": "created_user"
   },
   "minScale": 0,
   "hasAttachments": false,
   "advancedQueryCapabilities": {
    "supportsSqlExpression": true,
    "supportsQueryWithResultType": true,
    "supportsQueryRelatedPagination": true,
    "supportsQueryWithCacheHint": false,
    "supportsQueryWithDatumTransformation": true,
    "supportsQueryAttachmentsWithReturnUrl": true,
    "supportsQueryDateBins": false,
    "supportsQueryWithLodSR": true,
    "supportsPaginationOnAggregatedQueries": true,
    "supportsPagination": true,
    "supportsMaxRecordCountFactor": true,
    "supportsStatistics": true,
    "supportsOrderBy": true,
    "supportsQueryWithDistance": true,
    "supportsLod": true,
    "supportsCountDistinct": true,
    "supportsQueryAttachments": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryAttachmentsCountOnly": true,
    "supportsOrderByOnlyOnLayerFields": false,
    "supportsOutFieldSqlExpression": true,
    "supportsTopFeaturesQuery": true,
    "supportsDistinct": true,
    "supportsReturningGeometryCentroid": false,
    "supportsQueryAnalytic": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true
   },
   "supportsValidateSQL": true,
   "allowUpdateWithoutMValues": true,
   "types": [],
   "supportsCoordinatesQuantization": true,
   "capabilities": "Create,Editing,Sync,Uploads",
   "maxScale": 0,
   "supportsAppend": true,
   "supportsExceedsLimitStatistics": true,
   "defaultVisibility": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsAsync": true,
    "supportsLinearRegression": true,
    "supportsPercentileAnalytic": false
   },
   "hasMetadata": false,
   "supportedAppendFormats": "shapefile,geojson,csv,featureCollection,excel",
   "tileMaxRecordCount": 4000,
   "typeIdField": "",
   "supportsASyncCalculate": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "propagateVisibleFields": true,
   "sqlParserVersion": "PG_10.9.1",
   "drawingInfo": {
    "renderer": {
     "symbol": {
      "outline": {
       "color": [
        255,
        255,
        0,
        255
       ],
       "width": 1
      },
      "color": [
       255,
       0,
       0,
       255
      ],
      "size": 8,
      "yoffset": 0,
      "xoffset": 0,
      "angle": 0,
      "style": "esriSMSCircle",
      "type": "esriSMS"
     },
     "description": "Survey Data Locations",
     "label": "Prejuízos_AA",
     "type": "simple"
    },
    "transparency": 0,
    "labelingInfo": null
   },
   "copyrightText": "",
   "geometryType": "esriGeometryPoint",
   "supportsLayerOverrides": true
  },
  {
   "extent": {
    "ymin": -90,
    "xmin": -180,
    "ymax": 90,
    "xmax": 180,
    "spatialReference": {"wkid": 4326},
    "type": "extent"
   },
   "supportsApplyEditsWithGlobalIds": true,
   "maxRecordCount": 1000,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "ownershipBasedAccessControlForFeatures": {
    "allowOthersToUpdate": true,
    "allowOthersToQuery": true,
    "allowOthersToDelete": true
   },
   "type": "Feature Layer",
   "hasStaticData": false,
   "syncEnabled": true,
   "supportsAttachmentsByUploadId": true,
   "relationships": [
    {
     "keyField": "parentrowid",
     "role": "esriRelRoleDestination",
     "composite": true,
     "name": "Prejuizos_AA_prejuizos_parcelasafetadas",
     "relatedTableId": 0,
     "id": 0,
     "cardinality": "esriRelCardinalityOneToMany"
    }
   ],
   "supportsAttachmentsResizing": true,
   "id": 1,
   "supportsStatistics": true,
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "standardMaxRecordCount": 16000,
   "isDataVersioned": false,
   "templates": [
    {
     "name": "New Feature",
     "description": "",
     "prototype": {
      "attributes": {}
     }
    }
   ],
   "supportsAdvancedQueries": true,
   "currentVersion": 11.1,
   "hasZ": false,
   "advancedEditingCapabilities": {
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportsReturnEditResults": true,
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "objectIdField": "objectid",
   "supportsQuantizationEditMode": true,
   "name": "prejuizos_parcelasafetadas",
   "displayField": "objectid",
   "supportsCalculate": true,
   "fields": [
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "objectid",
     "length": 4,
     "alias": "ObjectID",
     "type": "esriFieldTypeOID"
    },
    {
     "nullable": false,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "globalid",
     "length": 38,
     "alias": "GlobalID",
     "type": "esriFieldTypeGlobalID"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "nr_parcelario",
     "length": 13,
     "alias": "Nº Parcelário",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "localparcela",
     "length": 3,
     "alias": "localparcela",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "concelhoparcela",
     "length": 70,
     "alias": "Concelho:",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "freguesiaparcela",
     "length": 150,
     "alias": "Freguesia:",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "parentrowid",
     "length": 38,
     "alias": "ParentRowID",
     "type": "esriFieldTypeGUID"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "created_user",
     "length": 255,
     "alias": "created_user",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "created_date",
     "length": 29,
     "alias": "created_date",
     "type": "esriFieldTypeDate"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "last_edited_user",
     "length": 255,
     "alias": "last_edited_user",
     "type": "esriFieldTypeString"
    },
    {
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "last_edited_date",
     "length": 29,
     "alias": "last_edited_date",
     "type": "esriFieldTypeDate"
    }
   ],
   "maxRecordCountFactor": 1,
   "dateFieldsTimeReference": {
    "respectsDaylightSaving": false,
    "timeZone": "UTC"
   },
   "supportsFieldDescriptionProperty": true,
   "hasM": false,
   "allowGeometryUpdates": true,
   "useStandardizedQueries": true,
   "globalIdField": "globalid",
   "description": "",
   "syncCanReturnChanges": true,
   "supportsAsyncDelete": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin"
   ],
   "supportsRollbackOnFailureParameter": true,
   "isDataReplicaTracked": true,
   "standardMaxRecordCountNoGeometry": 16000,
   "indexes": [
    {
     "name": "a771_ix1",
     "isUnique": false,
     "description": "",
     "fields": "shape",
     "isAscending": true
    },
    {
     "name": "r1053_sde_rowid_uk",
     "isUnique": false,
     "description": "",
     "fields": "objectid",
     "isAscending": true
    },
    {
     "name": "uuid_1053",
     "isUnique": true,
     "description": "",
     "fields": "globalid",
     "isAscending": true
    }
   ],
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "editFieldsInfo": {
    "editDateField": "last_edited_date",
    "editorField": "last_edited_user",
    "creationDateField": "created_date",
    "creatorField": "created_user"
   },
   "minScale": 0,
   "hasAttachments": false,
   "advancedQueryCapabilities": {
    "supportsSqlExpression": true,
    "supportsQueryWithResultType": true,
    "supportsQueryRelatedPagination": true,
    "supportsQueryWithCacheHint": false,
    "supportsQueryWithDatumTransformation": true,
    "supportsQueryAttachmentsWithReturnUrl": true,
    "supportsQueryDateBins": false,
    "supportsQueryWithLodSR": true,
    "supportsPaginationOnAggregatedQueries": true,
    "supportsPagination": true,
    "supportsMaxRecordCountFactor": true,
    "supportsStatistics": true,
    "supportsOrderBy": true,
    "supportsQueryWithDistance": true,
    "supportsLod": true,
    "supportsCountDistinct": true,
    "supportsQueryAttachments": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryAttachmentsCountOnly": true,
    "supportsOrderByOnlyOnLayerFields": false,
    "supportsOutFieldSqlExpression": true,
    "supportsTopFeaturesQuery": true,
    "supportsDistinct": true,
    "supportsReturningGeometryCentroid": false,
    "supportsQueryAnalytic": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true
   },
   "supportsValidateSQL": true,
   "allowUpdateWithoutMValues": true,
   "types": [],
   "supportsCoordinatesQuantization": true,
   "capabilities": "Create,Editing,Sync,Uploads",
   "maxScale": 0,
   "supportsAppend": true,
   "supportsExceedsLimitStatistics": true,
   "defaultVisibility": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsAsync": true,
    "supportsLinearRegression": true,
    "supportsPercentileAnalytic": false
   },
   "hasMetadata": false,
   "supportedAppendFormats": "shapefile,geojson,csv,featureCollection,excel",
   "tileMaxRecordCount": 4000,
   "typeIdField": "",
   "supportsASyncCalculate": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "propagateVisibleFields": true,
   "sqlParserVersion": "PG_10.9.1",
   "drawingInfo": {
    "renderer": {
     "symbol": {
      "outline": {
       "color": [
        255,
        255,
        0,
        255
       ],
       "width": 1
      },
      "color": [
       255,
       0,
       0,
       255
      ],
      "size": 8,
      "yoffset": 0,
      "xoffset": 0,
      "angle": 0,
      "style": "esriSMSCircle",
      "type": "esriSMS"
     },
     "description": "Survey Data Locations",
     "label": "Prejuízos_AA",
     "type": "simple"
    },
    "transparency": 0,
    "labelingInfo": null
   },
   "copyrightText": "",
   "geometryType": "esriGeometryPoint",
   "supportsLayerOverrides": true
  }
 ]
}