All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zuunr.json.schema.validation.JsonSchemaForJsonSchema.json Maven / Gradle / Ivy

There is a newer version: 0.1.7
Show newest version
{
  "$ref": "#/$defs/Schema",
  "$defs": {
    "JsonPointer": {
      "pattern": "^(#|/).*$",
      "type": "string"
    },
    "Schema": {
      "type": [
        "object",
        "boolean"
      ],
      "properties": {
        "properties": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/Schema"
          }
        },
        "dependentSchemas": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/Schema"
          }
        },
        "multipleOf": {
          "type": "number"
        },
        "anyOf": {
          "items": {
            "$ref": "#/$defs/Schema"
          },
          "type": "array"
        },
        "allOf": {
          "items": {
            "$ref": "#/$defs/Schema"
          },
          "type": "array"
        },
        "if": {
          "$ref": "#/$defs/Schema"
        },
        "else": {
          "$ref": "#/$defs/Schema"
        },
        "minLength": {
          "type": "integer"
        },
        "maxItems": {
          "type": "integer"
        },
        "contains": {
          "$ref": "#/$defs/Schema"
        },
        "maximum": {
          "type": "integer"
        },
        "minimum": {
          "type": "integer"
        },
        "maxLength": {
          "type": "integer"
        },
        "minItems": {
          "type": "integer"
        },
        "maxProperties": {
          "type": "integer"
        },
        "minProperties": {
          "type": "integer"
        },
        "$ref": {
          "$ref": "#/$defs/JsonPointer"
        },
        "items": {
          "$ref": "#/$defs/Schema"
        },
        "const": true,
        "$defs": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/Schema"
          }
        },
        "title": {
          "type": "string"
        },
        "required": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "uniqueItems": true
        },
        "pattern": {
          "type": "string"
        },
        "then": {
          "$ref": "#/$defs/Schema"
        },
        "type": {
          "anyOf": [
            {
              "$ref": "#/$defs/TypeString"
            },
            {
              "items": {
                "$ref": "#/$defs/TypeString"
              },
              "type": "array",
              "uniqueItems": true,
              "minItems": 1
            }
          ]
        },
        "oneOf": {
          "items": {
            "$ref": "#/$defs/Schema"
          },
          "type": "array"
        },
        "uniqueItems": {
          "type": "boolean"
        },
        "additionalProperties": {
          "$ref": "#/$defs/Schema"
        },
        "patternProperties": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/Schema"
          }
        },
        "equals": {
          "items": {
            "$ref": "#/$defs/JsonPointer"
          },
          "type": "array"
        },
        "description": {
          "type": "string"
        },
        "enum": {
          "type": "array"
        },
        "format": {
          "enum": [
            "date",
            "date-time"
          ]
        }
      },
      "additionalProperties": false
    },
    "TypeString": {
      "enum": [
        "array",
        "boolean",
        "object",
        "integer",
        "null",
        "number",
        "string"
      ]
    }
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy