{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/revyl/json-schema/revyl-ios-store-kit-config-ref-upsert-request-schema.json",
  "title": "IosStoreKitConfigRefUpsertRequest",
  "description": "Create or replace an explicit iOS StoreKit config choice.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/revyl-ios-storekit-config-api-openapi.yml#/components/schemas/IosStoreKitConfigRefUpsertRequest",
  "properties": {
    "file_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "File Id"
    },
    "mode": {
      "enum": [
        "file",
        "disabled"
      ],
      "title": "Mode",
      "type": "string"
    },
    "scope_id": {
      "format": "uuid",
      "title": "Scope Id",
      "type": "string"
    },
    "scope_type": {
      "enum": [
        "app",
        "build",
        "test"
      ],
      "title": "Scope Type",
      "type": "string"
    }
  },
  "required": [
    "scope_type",
    "scope_id",
    "mode"
  ],
  "type": "object"
}