{"title":"Dynamic data layer","type":"object","$schema":"http://json-schema.org/draft-07/schema","description":"A dynamic data layer derived from a registered workspace. More information on this can be found in the [ArcGIS REST API help](http://resources.arcgis.com/en/help/rest/apiref/layersource.html).","properties":{"dataSource":{"type":"object","description":"The layer's data source.","$ref":"dataSource_schema.json"},"fields":{"type":"array","description":"An array of objects specifying information about an attribute field.","items":{"type":"object","$ref":"field_schema.json"},"uniqueItems":true},"type":{"type":"string","description":"A string value indicating the type.","enum":["dataLayer"]}},"required":["dataSource","type"],"additionalProperties":false}