-
Notifications
You must be signed in to change notification settings - Fork 1
Layer Definition JSON
Below outlines the section of the layer definition JSON that is read by the script.
The layer definition JSON has three main sections:
- layers
- fields
- domains
The layers section contains the array of layers to be generated. Each layer is made up of the following properties:
- name
- alias
- enableLabel
- labelProperties
- fields
- symbology
The next main section is the fields section, which contains the definition for fields that should be added to all of the layers. These fields are combined with the fields that are defined on each layer to define the fields for each layer. This allows each layer to have specific fields relevant to only that layer, while defining fields relevant to all layers in a single place. The properties that make up a layer-specific field and an all-layer field are the same:
- name
- alias
- type
- nullable
- field_domain
- length (for TEXT fields)
The next main section is the domains section, which contains the definitions for the field domains that can be applied to the fields that make up the layers. The properties that make up a domain include:
- name
- description
- field_type
- domain_type
- values