{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/autonet-work/json-schema/autonet-work-claim-code-schema.json",
  "title": "ClaimCode",
  "description": "The code the user confirms at verification_uri; poll no faster than interval seconds",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/autonet-work-openapi.json#/components/schemas/ClaimCode",
  "type": "object",
  "properties": {
    "user_code": {
      "type": "string",
      "pattern": "^[0-9]{6}$"
    },
    "expires_in": {
      "type": "integer"
    },
    "verification_uri": {
      "type": "string",
      "format": "uri"
    },
    "interval": {
      "type": "integer"
    }
  },
  "required": [
    "user_code",
    "expires_in",
    "verification_uri",
    "interval"
  ]
}