{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "K-ArtSell CRUD Resource Contract v2",
  "contractVersion": "2.0",
  "required": [
    "resourceId",
    "querySchemaVersion",
    "responseSchemaVersion",
    "permissionPolicy",
    "concurrencyMode",
    "idempotencyMode",
    "sensitiveFields"
  ],
  "properties": {
    "concurrencyMode": {
      "enum": [
        "NONE",
        "ETAG_IF_MATCH"
      ]
    },
    "idempotencyMode": {
      "enum": [
        "NONE",
        "IDEMPOTENCY_KEY"
      ]
    },
    "queryOwnership": {
      "const": "VUE_ROUTER"
    },
    "serverStateOwnership": {
      "const": "TANSTACK_QUERY"
    },
    "formOwnership": {
      "const": "VEE_VALIDATE_ZOD"
    }
  }
}