{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/looot/json-schema/looot-create-provider-package-revision-schema.json",
  "title": "CreateProviderPackageRevision",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/looot-provider-package-revisions-api-openapi.yml#/components/schemas/CreateProviderPackageRevision",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "packageId",
    "expectedPreviousRevisionId",
    "mapping"
  ],
  "properties": {
    "packageId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 300
    },
    "expectedPreviousRevisionId": {
      "type": [
        "string",
        "null"
      ]
    },
    "mapping": {
      "type": "object",
      "description": "Strict typed provider mapping; validated for identity, capability, auth, JSON Schemas, effect, price, retry, errors, limits, retention and a disabled fixed-host executor."
    }
  }
}