{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A declaration of a layer for an organization",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "description": "The date and time of the creation of the record",
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "The description of the layer",
            "type": "string"
          },
          "name": {
            "description": "The name of the site",
            "type": "string"
          },
          "type": {
            "description": "The type of the layer",
            "enum": [
              "geojson_points",
              "geojson_points_trees",
              "geojson_line",
              "choropleth",
              "choropleth_shannon",
              "raster_tif",
              "tms_tile"
            ],
            "type": "string"
          },
          "uri": {
            "description": "The URI of the layer",
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "name",
          "type",
          "uri",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.gainforest.organization.layer",
  "lexicon": 1
}
