patch-schema

APIs.ioEngineeringPlatform

Properties

Name Type Description
Operations array patch operations list
schemas array
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-patch-schema-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/patch-schema",
  "title": "patch-schema",
  "type": "object",
  "required": [
    "Operations",
    "schemas"
  ],
  "properties": {
    "Operations": {
      "type": "array",
      "description": "patch operations list",
      "items": {
        "type": "object",
        "required": [
          "op"
        ],
        "properties": {
          "op": {
            "type": "string",
            "enum": [
              "add",
              "replace",
              "remove"
            ]
          },
          "path": {
            "type": "string"
          },
          "value": {
            "type": "string",
            "description": "Corresponding 'value' of that field specified by 'path'"
          }
        }
      }
    },
    "schemas": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "urn:ietf:params:scim:api:messages:2.0:PatchOp"
        ]
      }
    }
  }
}