{
  "$id": "https://raw.githubusercontent.com/i2-open/i2scim/master/spec/schema/scim-errorResponse.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "JSON-Schema for a SCIM Error Response per RFC7644",
  "properties": {
    "detail": {
      "description": "Human readable description of the error.",
      "type": "string"
    },
    "schemas": {
      "description": "This SCIM JSON Schema describes a SCIMv2 Protocol error response",
      "items": {
        "enum": [
          "urn:ietf:params:scim:api:messages:2.0:Error"
        ]
      },
      "type": "array"
    },
    "scimType": {
      "description": "Indicates the SCIM protocol error type when HTTP Status 400 (Bad Request) is returned.",
      "enum": [
        "invalidFilter",
        "tooMany",
        "uniqueness",
        "mutability",
        "invalidSyntax",
        "invalidPath",
        "noTarget",
        "invalidValue",
        "invalidVers",
        "sensitive"
      ]
    },
    "status": {
      "description": "The HTTP status code (See Section 6 of RFC7231) expressed as a JSON String.",
      "type": "string"
    }
  },
  "required": [
    "schemas",
    "status"
  ],
  "title": "SCIM Error Response Schema",
  "type": "object"
}