{
  "$id": "https://github.com/hashicorp/terraform-provider-tfcoremock/blob/main/schema/dynamic_resources.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": {
    "$ref": "#/definitions/schema"
  },
  "definitions": {
    "attribute": {
      "additionalProperties": false,
      "properties": {
        "computed": {
          "type": "boolean"
        },
        "list": {
          "$ref": "#/definitions/attribute"
        },
        "map": {
          "$ref": "#/definitions/attribute"
        },
        "object": {
          "additionalProperties": {
            "$ref": "#/definitions/attribute"
          },
          "type": "object"
        },
        "optional": {
          "type": "boolean"
        },
        "replace": {
          "type": "boolean"
        },
        "required": {
          "type": "boolean"
        },
        "sensitive": {
          "type": "boolean"
        },
        "set": {
          "$ref": "#/definitions/attribute"
        },
        "skip_nested_metadata": {
          "type": "boolean"
        },
        "type": {
          "type": "string"
        },
        "value": {
          "$ref": "#/definitions/value"
        }
      },
      "type": "object"
    },
    "block": {
      "additionalProperties": false,
      "properties": {
        "attributes": {
          "additionalProperties": {
            "$ref": "#/definitions/attribute"
          },
          "type": "object"
        },
        "blocks": {
          "additionalProperties": {
            "$ref": "#/definitions/block"
          },
          "type": "object"
        },
        "mode": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "schema": {
      "additionalProperties": false,
      "properties": {
        "attributes": {
          "additionalProperties": {
            "$ref": "#/definitions/attribute"
          },
          "type": "object"
        },
        "blocks": {
          "additionalProperties": {
            "$ref": "#/definitions/block"
          },
          "type": "object"
        }
      },
      "type": "object"
    },
    "value": {
      "additionalProperties": false,
      "properties": {
        "boolean": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "list": {
          "items": {
            "$ref": "#/definitions/value"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "map": {
          "additionalProperties": {
            "$ref": "#/definitions/value"
          },
          "type": [
            "object",
            "null"
          ]
        },
        "number": {
          "type": [
            "string",
            "null"
          ]
        },
        "object": {
          "additionalProperties": {
            "$ref": "#/definitions/value"
          },
          "type": [
            "object",
            "null"
          ]
        },
        "set": {
          "items": {
            "$ref": "#/definitions/value"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "string": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    }
  },
  "description": "The set of dynamic resources supported by the mock provider in the current working directory",
  "title": "Dynamic Resources",
  "type": "object"
}