{
  "properties": {
    "organization": {
      "title": "Organization",
      "description": "A simple organization.",
      "type": "object",
      "required": [
        "name",
        "identifier",
        "created",
        "refreshed"
      ],
      "properties": {
        "name": {
          "type": "string",
          "title": "Title"
        },
        "identifier": {
          "type": "string",
          "title": "Identifier",
          "description": "Unique identifier for organization."
        },
        "description": {
          "type": "string",
          "title": "Description"
        },
        "created": {
          "type": "string",
          "title": "Created",
          "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}"
        },
        "refreshed": {
          "type": "string",
          "title": "Last Refresh Date",
          "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}"
        }
      }
    },
    "tags": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "title": "Tag",
      "description": "A descriptor for associating similar records.",
      "type": "object",
      "required": [
        "title",
        "identifier",
        "modified",
        "created"
      ],
      "properties": {
        "title": {
          "title": "Title",
          "type": "string"
        },
        "identifier": {
          "type": "string",
          "title": "Identifier"
        },
        "modified": {
          "type": "string",
          "title": "Modified",
          "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}"
        },
        "icon": {
          "type": "string",
          "title": "icon"
        },
        "created": {
          "type": "string",
          "title": "Created",
          "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}"
        }
      }
    },
    "datasets": {
      "id": "#",
      "title": "Datasets",
      "description": "A simple dataset.",
      "type": "object",
      "required": [
        "title",
        "id",
        "created",
        "modified"
      ],
      "properties": {
        "title": {
          "type": "string",
          "title": "Title"
        },
        "id": {
          "type": "string",
          "title": "Identifier",
          "description": "Unique identifier for dataset."
        },
        "description": {
          "type": "string",
          "title": "Description"
        },
        "org": {
          "type": "object",
          "title": "Organization",
          "description": "A simple organization.",
          "required": [
            "name",
            "identifier",
            "created",
            "refreshed"
          ],
          "properties": {
            "name": {
              "type": "string",
              "title": "Title"
            },
            "identifier": {
              "type": "string",
              "title": "Identifier",
              "description": "Unique identifier for organization."
            },
            "description": {
              "type": "string",
              "title": "Description"
            },
            "created": {
              "type": "string",
              "title": "Created",
              "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}"
            },
            "refreshed": {
              "type": "string",
              "title": "Last Refresh Date",
              "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}"
            }
          }
        },
        "tags": {
          "title": "Tags",
          "description": "Tags are tags.",
          "type": "array",
          "items": {
            "$schema": "http://json-schema.org/draft-04/schema#",
            "title": "Tag",
            "description": "A descriptor for associating similar records.",
            "type": "object",
            "required": [
              "title",
              "identifier",
              "modified"
            ],
            "properties": {
              "title": {
                "title": "Title",
                "type": "string"
              },
              "identifier": {
                "type": "string",
                "title": "Identifier"
              },
              "modified": {
                "type": "string",
                "title": "Modified",
                "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}"
              },
              "icon": {
                "type": "string",
                "title": "icon"
              }
            }
          }
        },
        "created": {
          "type": "string",
          "title": "Created",
          "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}"
        },
        "modified": {
          "type": "string",
          "title": "Modified",
          "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}"
        },
        "resources": {
          "type": "array",
          "title": "Resources",
          "items": {
            "type": "object",
            "properties": {
              "title": {
                "type": "string",
                "title": "Title"
              },
              "uri": {
                "type": "string",
                "title": "URI"
              },
              "type": {
                "type": "string",
                "title": "Type",
                "enum": [
                  "csv",
                  "html",
                  "xls",
                  "pdf"
                ]
              }
            }
          }
        }
      }
    }
  }
}