{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/revyl/json-schema/revyl-ios-store-kit-config-ref-response-schema.json",
  "title": "IosStoreKitConfigRefResponse",
  "description": "Response for a single iOS StoreKit config ref mutation/read.",
  "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/IosStoreKitConfigRefResponse",
  "properties": {
    "message": {
      "title": "Message",
      "type": "string"
    },
    "result": {
      "anyOf": [
        {
          "$ref": "#/$defs/IosStoreKitConfigRef"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "message"
  ],
  "type": "object",
  "$defs": {
    "IosStoreKitConfigRef": {
      "description": "Explicit iOS StoreKit Testing config choice for one scope.",
      "properties": {
        "content_type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Content Type"
        },
        "created_at": {
          "format": "date-time",
          "title": "Created At",
          "type": "string"
        },
        "file_id": {
          "anyOf": [
            {
              "format": "uuid",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "File Id"
        },
        "file_size": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "File Size"
        },
        "filename": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Filename"
        },
        "id": {
          "format": "uuid",
          "title": "Id",
          "type": "string"
        },
        "mode": {
          "enum": [
            "file",
            "disabled"
          ],
          "title": "Mode",
          "type": "string"
        },
        "org_id": {
          "format": "uuid",
          "title": "Org Id",
          "type": "string"
        },
        "scope_id": {
          "format": "uuid",
          "title": "Scope Id",
          "type": "string"
        },
        "scope_type": {
          "enum": [
            "app",
            "build",
            "test"
          ],
          "title": "Scope Type",
          "type": "string"
        },
        "updated_at": {
          "format": "date-time",
          "title": "Updated At",
          "type": "string"
        }
      },
      "required": [
        "id",
        "org_id",
        "scope_type",
        "scope_id",
        "mode",
        "created_at",
        "updated_at"
      ],
      "title": "IosStoreKitConfigRef",
      "type": "object"
    }
  }
}