{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "REST resource contracts evaluation inputs",
  "description": "Change the entity tag or tenant context and inspect the resulting contract. Evaluation runs in this page.",
  "type": "object",
  "required": [
    "if_match",
    "current_etag",
    "tenant_allowed",
    "lifecycle_stage"
  ],
  "properties": {
    "if_match": {
      "type": "string",
      "description": "Entity tag supplied by the client."
    },
    "current_etag": {
      "type": "string",
      "description": "Current resource version at commit time."
    },
    "tenant_allowed": {
      "type": "boolean",
      "description": "Result of the object authorization check."
    },
    "lifecycle_stage": {
      "type": "string",
      "description": "Requested lifecycle value.",
      "enum": [
        "new",
        "qualified",
        "customer"
      ]
    }
  },
  "additionalProperties": false
}