> ## Documentation Index
> Fetch the complete documentation index at: https://docs.canary.effectiveai.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a draft rater rebuild

> A rater rebuild applies one ISO circular to a carrier’s rater for one product in one state, on a circular project (a project with projectType iso_circular). It reads the rater, the rebuild guideline, the in-force book and the experience file from the product’s rating setup in the state (a product_rating_setups record, set on the product’s Rating tab). The worked cases are the rebuild’s own, optional input. A caller who can read the project reads its rebuilds; a caller who can edit the project creates and changes them. A product has at most one open rebuild in a state. Creates a draft for the product and state on the circular project. Nothing runs until the build. The project must be a circular project, and when its link names a product or a state, they must be the body's. `productId` is a Catalog product record id: the product must exist, you must be able to read it, and its page must list it as available in the state (`product_not_available`). `workedCases` is optional: a Vault file you can read (`input_unreadable`), which the build pins and each version rates. 422 `rebuild_inputs_invalid` lists each problem. A product with an open rebuild in the state is 409 `rebuild_open`, with its `raterRebuildId`. Needs edit access to the project. Requires Idempotency-Key: a retry with the same key and body returns the same rebuild as it is now for 7 days; the same key with another body is 409 `idempotency_conflict`.

Alpha: this operation may change or be removed without notice.



## OpenAPI

````yaml /openapi.json post /insurance/rater-rebuilds
openapi: 3.0.3
info:
  title: Effective API
  version: 2.0.0
  description: The public Effective REST API. Authenticate using an Effective API key.
servers:
  - url: https://api.canary.effectiveai.app/api/v2
    description: Canary
security:
  - bearerAuth: []
paths:
  /insurance/rater-rebuilds:
    post:
      tags:
        - Rater rebuilds
      summary: Create a draft rater rebuild
      description: >-
        A rater rebuild applies one ISO circular to a carrier’s rater for one
        product in one state, on a circular project (a project with projectType
        iso_circular). It reads the rater, the rebuild guideline, the in-force
        book and the experience file from the product’s rating setup in the
        state (a product_rating_setups record, set on the product’s Rating tab).
        The worked cases are the rebuild’s own, optional input. A caller who can
        read the project reads its rebuilds; a caller who can edit the project
        creates and changes them. A product has at most one open rebuild in a
        state. Creates a draft for the product and state on the circular
        project. Nothing runs until the build. The project must be a circular
        project, and when its link names a product or a state, they must be the
        body's. `productId` is a Catalog product record id: the product must
        exist, you must be able to read it, and its page must list it as
        available in the state (`product_not_available`). `workedCases` is
        optional: a Vault file you can read (`input_unreadable`), which the
        build pins and each version rates. 422 `rebuild_inputs_invalid` lists
        each problem. A product with an open rebuild in the state is 409
        `rebuild_open`, with its `raterRebuildId`. Needs edit access to the
        project. Requires Idempotency-Key: a retry with the same key and body
        returns the same rebuild as it is now for 7 days; the same key with
        another body is 409 `idempotency_conflict`.


        Alpha: this operation may change or be removed without notice.
      operationId: createRaterRebuild
      parameters:
        - schema:
            type: string
            minLength: 1
            maxLength: 128
            pattern: ^[A-Za-z0-9\-_.:]+$
            description: >-
              Client-chosen key for safe retries: 1-128 letters, digits, -, _, .
              or :. Use a new random UUID for each intended operation and the
              same key when retrying it.
          required: true
          description: >-
            Client-chosen key for safe retries: 1-128 letters, digits, -, _, .
            or :. Use a new random UUID for each intended operation and the same
            key when retrying it.
          name: Idempotency-Key
          in: header
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                projectId:
                  type: string
                  format: uuid
                  description: >-
                    A circular project: a platform Project with projectType
                    iso_circular.
                productId:
                  type: string
                  format: uuid
                  description: >-
                    The product the rater serves: a Catalog product record id,
                    available in the state on the product’s page.
                state:
                  type: string
                  enum:
                    - AL
                    - AK
                    - AZ
                    - AR
                    - CA
                    - CO
                    - CT
                    - DE
                    - DC
                    - FL
                    - GA
                    - HI
                    - ID
                    - IL
                    - IN
                    - IA
                    - KS
                    - KY
                    - LA
                    - ME
                    - MD
                    - MA
                    - MI
                    - MN
                    - MS
                    - MO
                    - MT
                    - NE
                    - NV
                    - NH
                    - NJ
                    - NM
                    - NY
                    - NC
                    - ND
                    - OH
                    - OK
                    - OR
                    - PA
                    - RI
                    - SC
                    - SD
                    - TN
                    - TX
                    - UT
                    - VT
                    - VA
                    - WA
                    - WV
                    - WI
                    - WY
                  description: >-
                    A state, by its two-letter USPS code in capitals, such as
                    VA.
                workedCases:
                  type: string
                  format: uuid
                  description: >-
                    Optional: the carrier’s worked cases, a Vault file of
                    policies with the premiums the rater in force (V0) gives
                    them. Each version rates them and notes the cases whose
                    premium changed. You must be able to read the file
                    (input_unreadable). Leave it out to rebuild without them.
              required:
                - projectId
                - productId
                - state
              additionalProperties: false
      responses:
        '201':
          description: The draft rebuild.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RaterRebuild'
        '400':
          description: Invalid request or cursor.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2CodedError'
        '401':
          description: Authentication required.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2CodedError'
        '403':
          description: The caller can read the project but not edit it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2CodedError'
        '404':
          description: No such project, or the caller cannot read it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2CodedError'
        '409':
          description: '`rebuild_open` or `idempotency_conflict`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RaterRebuildError'
        '422':
          description: '`rebuild_inputs_invalid`: each problem in `problems`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RaterRebuildError'
      security:
        - bearerAuth: []
components:
  schemas:
    RaterRebuild:
      anyOf:
        - type: object
          properties:
            id:
              type: string
              format: uuid
              description: The rater rebuild’s id, a UUID.
            project:
              type: object
              properties:
                id:
                  type: string
                  format: uuid
                  description: >-
                    A circular project: a platform Project with projectType
                    iso_circular.
                title:
                  type: string
                webUrl:
                  type: string
                  nullable: true
                  format: uri
                  description: The project’s page. Null when the caller cannot open it.
              required:
                - id
                - title
                - webUrl
            productId:
              type: string
              minLength: 1
              maxLength: 200
              description: >-
                The product the rater serves: a Catalog product record id. A
                rebuild created before rating setups may hold another product
                id.
            state:
              type: string
              enum:
                - AL
                - AK
                - AZ
                - AR
                - CA
                - CO
                - CT
                - DE
                - DC
                - FL
                - GA
                - HI
                - ID
                - IL
                - IN
                - IA
                - KS
                - KY
                - LA
                - ME
                - MD
                - MA
                - MI
                - MN
                - MS
                - MO
                - MT
                - NE
                - NV
                - NH
                - NJ
                - NM
                - NY
                - NC
                - ND
                - OH
                - OK
                - OR
                - PA
                - RI
                - SC
                - SD
                - TN
                - TX
                - UT
                - VT
                - VA
                - WA
                - WV
                - WI
                - WY
              description: A state, by its two-letter USPS code in capitals, such as VA.
            createdAt:
              type: string
              format: date-time
            createdBy:
              type: object
              properties:
                kind:
                  type: string
                  enum:
                    - user
                    - group
                id:
                  type: string
                  minLength: 1
                name:
                  type: string
                  nullable: true
                  description: Null when the user or group no longer exists.
              required:
                - kind
                - id
                - name
            inputs:
              type: object
              properties:
                ratingSetup:
                  type: object
                  nullable: true
                  properties:
                    id:
                      type: string
                      format: uuid
                      description: >-
                        The product’s rating setup in the state, a
                        product_rating_setups record: the rater, the guideline
                        and the files the rebuild reads.
                  required:
                    - id
                  description: >-
                    The product’s rating setup in the state that the inputs come
                    from. On a draft, null when the product has none in the
                    state. On a built rebuild, the setup its build read; null
                    when its log does not name one: a rebuild built before
                    rating setups, or one whose runner has not started yet.
                rater:
                  type: object
                  nullable: true
                  properties:
                    raterId:
                      type: string
                      minLength: 1
                      maxLength: 200
                    release:
                      type: integer
                      minimum: 1
                      maximum: 1000000
                    bundleId:
                      type: string
                      nullable: true
                      pattern: ^[0-9a-f]{64}$
                      description: Null until the build pins the release.
                  required:
                    - raterId
                    - release
                    - bundleId
                  description: >-
                    V0: the rater release the rating setup pins, the one in
                    force. Null when the setup names no rater.
                guideline:
                  type: object
                  nullable: true
                  properties:
                    guidelineId:
                      type: string
                      minLength: 1
                      maxLength: 128
                      pattern: ^[a-z0-9][a-z0-9._-]{0,127}$
                      description: >-
                        A rebuild guideline’s program id, as
                        listRebuildGuidelines gives it: lowercase letters,
                        digits, dots, underscores and hyphens.
                    release:
                      type: integer
                      minimum: 1
                      maximum: 1000000
                    title:
                      type: string
                      nullable: true
                      description: Null when the caller cannot read the release.
                  required:
                    - guidelineId
                    - release
                    - title
                  description: >-
                    The rebuild guideline release the rating setup pins. Null
                    when the setup names none.
                book:
                  type: object
                  nullable: true
                  properties:
                    artifactId:
                      type: string
                      format: uuid
                      description: A Vault artifact id.
                    name:
                      type: string
                      nullable: true
                      description: Null when the caller cannot read the artifact.
                    sha256:
                      type: string
                      nullable: true
                      pattern: ^[0-9a-f]{64}$
                      description: The pinned bytes. Null until the build pins them.
                  required:
                    - artifactId
                    - name
                    - sha256
                  description: >-
                    The in-force policies: the newest file in the rating setup’s
                    In-force book folder, the one uploaded last. A new version
                    of an older file does not make it the newest. Null when the
                    folder is empty.
                workedCases:
                  type: object
                  nullable: true
                  properties:
                    artifactId:
                      type: string
                      format: uuid
                      description: A Vault artifact id.
                    name:
                      type: string
                      nullable: true
                      description: Null when the caller cannot read the artifact.
                    sha256:
                      type: string
                      nullable: true
                      pattern: ^[0-9a-f]{64}$
                      description: The pinned bytes. Null until the build pins them.
                  required:
                    - artifactId
                    - name
                    - sha256
                  description: >-
                    Optional: the worked cases the rebuild rates on each
                    version, as createRaterRebuild or updateRaterRebuild set
                    them. Null when none were given: the rebuild then rates no
                    worked cases.
                experienceFile:
                  type: object
                  nullable: true
                  properties:
                    artifactId:
                      type: string
                      format: uuid
                      description: A Vault artifact id.
                    name:
                      type: string
                      nullable: true
                      description: Null when the caller cannot read the artifact.
                    sha256:
                      type: string
                      nullable: true
                      pattern: ^[0-9a-f]{64}$
                      description: The pinned bytes. Null until the build pins them.
                  required:
                    - artifactId
                    - name
                    - sha256
                  description: >-
                    Optional: the newest file in the rating setup’s Experience
                    file folder, the one uploaded last. Null when the folder is
                    empty, and Exhibit 1 lines 1 to 21 then stay empty.
                circulars:
                  type: array
                  items:
                    type: string
                    pattern: ^[A-Z]{2}-(?:19|20)\d{2}-[A-Z][A-Z0-9]{1,11}$
                    description: >-
                      An ISO circular, such as GL-2025-IPOP1: its line, year and
                      revision code.
                  description: >-
                    The ISO circulars the rebuild applies: the project’s own
                    first, then the ones updateRaterRebuild’s alsoApply adds.
              required:
                - ratingSetup
                - rater
                - guideline
                - book
                - workedCases
                - experienceFile
                - circulars
            missingToBuild:
              type: array
              items:
                type: string
                enum:
                  - ratingSetup
                  - rater
                  - guideline
                  - book
              description: >-
                On a draft, the required inputs that the product’s rating setup
                does not give now. Empty once built.
            nextActions:
              type: array
              items:
                type: string
                enum:
                  - set_inputs
                  - build
                  - create_version
                  - finish
                  - stop
            status:
              type: string
              enum:
                - draft
            revision:
              nullable: true
            builtAt:
              nullable: true
            builtBy:
              nullable: true
            circulars:
              type: array
              items:
                nullable: true
              maxItems: 0
            run:
              nullable: true
            steps:
              type: array
              items:
                nullable: true
              maxItems: 0
            iso:
              nullable: true
            changes:
              type: array
              items:
                nullable: true
              maxItems: 0
            currentVersion:
              nullable: true
            versions:
              type: array
              items:
                nullable: true
              maxItems: 0
            notices:
              type: array
              items:
                nullable: true
              maxItems: 0
            closedAt:
              nullable: true
          required:
            - id
            - project
            - productId
            - state
            - createdAt
            - createdBy
            - inputs
            - missingToBuild
            - nextActions
            - status
            - revision
            - builtAt
            - builtBy
            - circulars
            - run
            - steps
            - iso
            - changes
            - currentVersion
            - versions
            - notices
            - closedAt
        - type: object
          properties:
            id:
              type: string
              format: uuid
              description: The rater rebuild’s id, a UUID.
            project:
              type: object
              properties:
                id:
                  type: string
                  format: uuid
                  description: >-
                    A circular project: a platform Project with projectType
                    iso_circular.
                title:
                  type: string
                webUrl:
                  type: string
                  nullable: true
                  format: uri
                  description: The project’s page. Null when the caller cannot open it.
              required:
                - id
                - title
                - webUrl
            productId:
              type: string
              minLength: 1
              maxLength: 200
              description: >-
                The product the rater serves: a Catalog product record id. A
                rebuild created before rating setups may hold another product
                id.
            state:
              type: string
              enum:
                - AL
                - AK
                - AZ
                - AR
                - CA
                - CO
                - CT
                - DE
                - DC
                - FL
                - GA
                - HI
                - ID
                - IL
                - IN
                - IA
                - KS
                - KY
                - LA
                - ME
                - MD
                - MA
                - MI
                - MN
                - MS
                - MO
                - MT
                - NE
                - NV
                - NH
                - NJ
                - NM
                - NY
                - NC
                - ND
                - OH
                - OK
                - OR
                - PA
                - RI
                - SC
                - SD
                - TN
                - TX
                - UT
                - VT
                - VA
                - WA
                - WV
                - WI
                - WY
              description: A state, by its two-letter USPS code in capitals, such as VA.
            createdAt:
              type: string
              format: date-time
            createdBy:
              type: object
              properties:
                kind:
                  type: string
                  enum:
                    - user
                    - group
                id:
                  type: string
                  minLength: 1
                name:
                  type: string
                  nullable: true
                  description: Null when the user or group no longer exists.
              required:
                - kind
                - id
                - name
            inputs:
              type: object
              properties:
                ratingSetup:
                  type: object
                  nullable: true
                  properties:
                    id:
                      type: string
                      format: uuid
                      description: >-
                        The product’s rating setup in the state, a
                        product_rating_setups record: the rater, the guideline
                        and the files the rebuild reads.
                  required:
                    - id
                  description: >-
                    The product’s rating setup in the state that the inputs come
                    from. On a draft, null when the product has none in the
                    state. On a built rebuild, the setup its build read; null
                    when its log does not name one: a rebuild built before
                    rating setups, or one whose runner has not started yet.
                rater:
                  type: object
                  nullable: true
                  properties:
                    raterId:
                      type: string
                      minLength: 1
                      maxLength: 200
                    release:
                      type: integer
                      minimum: 1
                      maximum: 1000000
                    bundleId:
                      type: string
                      nullable: true
                      pattern: ^[0-9a-f]{64}$
                      description: Null until the build pins the release.
                  required:
                    - raterId
                    - release
                    - bundleId
                  description: >-
                    V0: the rater release the rating setup pins, the one in
                    force. Null when the setup names no rater.
                guideline:
                  type: object
                  nullable: true
                  properties:
                    guidelineId:
                      type: string
                      minLength: 1
                      maxLength: 128
                      pattern: ^[a-z0-9][a-z0-9._-]{0,127}$
                      description: >-
                        A rebuild guideline’s program id, as
                        listRebuildGuidelines gives it: lowercase letters,
                        digits, dots, underscores and hyphens.
                    release:
                      type: integer
                      minimum: 1
                      maximum: 1000000
                    title:
                      type: string
                      nullable: true
                      description: Null when the caller cannot read the release.
                  required:
                    - guidelineId
                    - release
                    - title
                  description: >-
                    The rebuild guideline release the rating setup pins. Null
                    when the setup names none.
                book:
                  type: object
                  nullable: true
                  properties:
                    artifactId:
                      type: string
                      format: uuid
                      description: A Vault artifact id.
                    name:
                      type: string
                      nullable: true
                      description: Null when the caller cannot read the artifact.
                    sha256:
                      type: string
                      nullable: true
                      pattern: ^[0-9a-f]{64}$
                      description: The pinned bytes. Null until the build pins them.
                  required:
                    - artifactId
                    - name
                    - sha256
                  description: >-
                    The in-force policies: the newest file in the rating setup’s
                    In-force book folder, the one uploaded last. A new version
                    of an older file does not make it the newest. Null when the
                    folder is empty.
                workedCases:
                  type: object
                  nullable: true
                  properties:
                    artifactId:
                      type: string
                      format: uuid
                      description: A Vault artifact id.
                    name:
                      type: string
                      nullable: true
                      description: Null when the caller cannot read the artifact.
                    sha256:
                      type: string
                      nullable: true
                      pattern: ^[0-9a-f]{64}$
                      description: The pinned bytes. Null until the build pins them.
                  required:
                    - artifactId
                    - name
                    - sha256
                  description: >-
                    Optional: the worked cases the rebuild rates on each
                    version, as createRaterRebuild or updateRaterRebuild set
                    them. Null when none were given: the rebuild then rates no
                    worked cases.
                experienceFile:
                  type: object
                  nullable: true
                  properties:
                    artifactId:
                      type: string
                      format: uuid
                      description: A Vault artifact id.
                    name:
                      type: string
                      nullable: true
                      description: Null when the caller cannot read the artifact.
                    sha256:
                      type: string
                      nullable: true
                      pattern: ^[0-9a-f]{64}$
                      description: The pinned bytes. Null until the build pins them.
                  required:
                    - artifactId
                    - name
                    - sha256
                  description: >-
                    Optional: the newest file in the rating setup’s Experience
                    file folder, the one uploaded last. Null when the folder is
                    empty, and Exhibit 1 lines 1 to 21 then stay empty.
                circulars:
                  type: array
                  items:
                    type: string
                    pattern: ^[A-Z]{2}-(?:19|20)\d{2}-[A-Z][A-Z0-9]{1,11}$
                    description: >-
                      An ISO circular, such as GL-2025-IPOP1: its line, year and
                      revision code.
                  description: >-
                    The ISO circulars the rebuild applies: the project’s own
                    first, then the ones updateRaterRebuild’s alsoApply adds.
              required:
                - ratingSetup
                - rater
                - guideline
                - book
                - workedCases
                - experienceFile
                - circulars
            missingToBuild:
              type: array
              items:
                type: string
                enum:
                  - ratingSetup
                  - rater
                  - guideline
                  - book
              description: >-
                On a draft, the required inputs that the product’s rating setup
                does not give now. Empty once built.
            nextActions:
              type: array
              items:
                type: string
                enum:
                  - set_inputs
                  - build
                  - create_version
                  - finish
                  - stop
            status:
              type: string
              enum:
                - stopped
            revision:
              nullable: true
            builtAt:
              nullable: true
            builtBy:
              nullable: true
            circulars:
              type: array
              items:
                nullable: true
              maxItems: 0
            run:
              nullable: true
            steps:
              type: array
              items:
                nullable: true
              maxItems: 0
            iso:
              nullable: true
            changes:
              type: array
              items:
                nullable: true
              maxItems: 0
            currentVersion:
              nullable: true
            versions:
              type: array
              items:
                nullable: true
              maxItems: 0
            notices:
              type: array
              items:
                nullable: true
              maxItems: 0
            closedAt:
              type: string
              format: date-time
          required:
            - id
            - project
            - productId
            - state
            - createdAt
            - createdBy
            - inputs
            - missingToBuild
            - nextActions
            - status
            - revision
            - builtAt
            - builtBy
            - circulars
            - run
            - steps
            - iso
            - changes
            - currentVersion
            - versions
            - notices
            - closedAt
        - type: object
          properties:
            id:
              type: string
              format: uuid
              description: The rater rebuild’s id, a UUID.
            project:
              type: object
              properties:
                id:
                  type: string
                  format: uuid
                  description: >-
                    A circular project: a platform Project with projectType
                    iso_circular.
                title:
                  type: string
                webUrl:
                  type: string
                  nullable: true
                  format: uri
                  description: The project’s page. Null when the caller cannot open it.
              required:
                - id
                - title
                - webUrl
            productId:
              type: string
              minLength: 1
              maxLength: 200
              description: >-
                The product the rater serves: a Catalog product record id. A
                rebuild created before rating setups may hold another product
                id.
            state:
              type: string
              enum:
                - AL
                - AK
                - AZ
                - AR
                - CA
                - CO
                - CT
                - DE
                - DC
                - FL
                - GA
                - HI
                - ID
                - IL
                - IN
                - IA
                - KS
                - KY
                - LA
                - ME
                - MD
                - MA
                - MI
                - MN
                - MS
                - MO
                - MT
                - NE
                - NV
                - NH
                - NJ
                - NM
                - NY
                - NC
                - ND
                - OH
                - OK
                - OR
                - PA
                - RI
                - SC
                - SD
                - TN
                - TX
                - UT
                - VT
                - VA
                - WA
                - WV
                - WI
                - WY
              description: A state, by its two-letter USPS code in capitals, such as VA.
            createdAt:
              type: string
              format: date-time
            createdBy:
              type: object
              properties:
                kind:
                  type: string
                  enum:
                    - user
                    - group
                id:
                  type: string
                  minLength: 1
                name:
                  type: string
                  nullable: true
                  description: Null when the user or group no longer exists.
              required:
                - kind
                - id
                - name
            inputs:
              type: object
              properties:
                ratingSetup:
                  type: object
                  nullable: true
                  properties:
                    id:
                      type: string
                      format: uuid
                      description: >-
                        The product’s rating setup in the state, a
                        product_rating_setups record: the rater, the guideline
                        and the files the rebuild reads.
                  required:
                    - id
                  description: >-
                    The product’s rating setup in the state that the inputs come
                    from. On a draft, null when the product has none in the
                    state. On a built rebuild, the setup its build read; null
                    when its log does not name one: a rebuild built before
                    rating setups, or one whose runner has not started yet.
                rater:
                  type: object
                  nullable: true
                  properties:
                    raterId:
                      type: string
                      minLength: 1
                      maxLength: 200
                    release:
                      type: integer
                      minimum: 1
                      maximum: 1000000
                    bundleId:
                      type: string
                      nullable: true
                      pattern: ^[0-9a-f]{64}$
                      description: Null until the build pins the release.
                  required:
                    - raterId
                    - release
                    - bundleId
                  description: >-
                    V0: the rater release the rating setup pins, the one in
                    force. Null when the setup names no rater.
                guideline:
                  type: object
                  nullable: true
                  properties:
                    guidelineId:
                      type: string
                      minLength: 1
                      maxLength: 128
                      pattern: ^[a-z0-9][a-z0-9._-]{0,127}$
                      description: >-
                        A rebuild guideline’s program id, as
                        listRebuildGuidelines gives it: lowercase letters,
                        digits, dots, underscores and hyphens.
                    release:
                      type: integer
                      minimum: 1
                      maximum: 1000000
                    title:
                      type: string
                      nullable: true
                      description: Null when the caller cannot read the release.
                  required:
                    - guidelineId
                    - release
                    - title
                  description: >-
                    The rebuild guideline release the rating setup pins. Null
                    when the setup names none.
                book:
                  type: object
                  nullable: true
                  properties:
                    artifactId:
                      type: string
                      format: uuid
                      description: A Vault artifact id.
                    name:
                      type: string
                      nullable: true
                      description: Null when the caller cannot read the artifact.
                    sha256:
                      type: string
                      nullable: true
                      pattern: ^[0-9a-f]{64}$
                      description: The pinned bytes. Null until the build pins them.
                  required:
                    - artifactId
                    - name
                    - sha256
                  description: >-
                    The in-force policies: the newest file in the rating setup’s
                    In-force book folder, the one uploaded last. A new version
                    of an older file does not make it the newest. Null when the
                    folder is empty.
                workedCases:
                  type: object
                  nullable: true
                  properties:
                    artifactId:
                      type: string
                      format: uuid
                      description: A Vault artifact id.
                    name:
                      type: string
                      nullable: true
                      description: Null when the caller cannot read the artifact.
                    sha256:
                      type: string
                      nullable: true
                      pattern: ^[0-9a-f]{64}$
                      description: The pinned bytes. Null until the build pins them.
                  required:
                    - artifactId
                    - name
                    - sha256
                  description: >-
                    Optional: the worked cases the rebuild rates on each
                    version, as createRaterRebuild or updateRaterRebuild set
                    them. Null when none were given: the rebuild then rates no
                    worked cases.
                experienceFile:
                  type: object
                  nullable: true
                  properties:
                    artifactId:
                      type: string
                      format: uuid
                      description: A Vault artifact id.
                    name:
                      type: string
                      nullable: true
                      description: Null when the caller cannot read the artifact.
                    sha256:
                      type: string
                      nullable: true
                      pattern: ^[0-9a-f]{64}$
                      description: The pinned bytes. Null until the build pins them.
                  required:
                    - artifactId
                    - name
                    - sha256
                  description: >-
                    Optional: the newest file in the rating setup’s Experience
                    file folder, the one uploaded last. Null when the folder is
                    empty, and Exhibit 1 lines 1 to 21 then stay empty.
                circulars:
                  type: array
                  items:
                    type: string
                    pattern: ^[A-Z]{2}-(?:19|20)\d{2}-[A-Z][A-Z0-9]{1,11}$
                    description: >-
                      An ISO circular, such as GL-2025-IPOP1: its line, year and
                      revision code.
                  description: >-
                    The ISO circulars the rebuild applies: the project’s own
                    first, then the ones updateRaterRebuild’s alsoApply adds.
              required:
                - ratingSetup
                - rater
                - guideline
                - book
                - workedCases
                - experienceFile
                - circulars
            missingToBuild:
              type: array
              items:
                type: string
                enum:
                  - ratingSetup
                  - rater
                  - guideline
                  - book
              description: >-
                On a draft, the required inputs that the product’s rating setup
                does not give now. Empty once built.
            nextActions:
              type: array
              items:
                type: string
                enum:
                  - set_inputs
                  - build
                  - create_version
                  - finish
                  - stop
            status:
              type: string
              enum:
                - building
                - failed
                - ready
            revision:
              type: integer
              minimum: 0
              description: The log position of this read. Send it back on writes.
            builtAt:
              type: string
              format: date-time
            builtBy:
              type: object
              properties:
                kind:
                  type: string
                  enum:
                    - user
                    - group
                id:
                  type: string
                  minLength: 1
                name:
                  type: string
                  nullable: true
                  description: Null when the user or group no longer exists.
              required:
                - kind
                - id
                - name
            circulars:
              type: array
              items:
                type: object
                properties:
                  circular:
                    type: string
                  filing:
                    type: string
                  subject:
                    type: string
                  statedEffect:
                    type: number
                    nullable: true
                    description: >-
                      ISO’s overall rate effect of the filing in the state, as
                      SERFF records it: the overall rate impact, or the overall
                      indicated change when SERFF records no impact. Null when
                      SERFF records neither.
                required:
                  - circular
                  - filing
                  - subject
                  - statedEffect
            run:
              type: object
              nullable: true
              properties:
                id:
                  type: string
                  format: uuid
                  description: The procedure run’s id, as `getProcedureRun` reads it.
                webUrl:
                  type: string
                  format: uri
                  description: The run’s page.
              required:
                - id
                - webUrl
              description: >-
                The first pass’s procedure run, whose progress `steps` shows.
                Null until the build keeps it, when the caller cannot open it,
                and when its lookup failed for this read.
            steps:
              type: array
              items:
                type: object
                properties:
                  step:
                    type: string
                    enum:
                      - start
                      - read_iso
                      - rebase
                      - carry_over
                      - review
                      - rate_book
                      - make_exhibits
                  outcome:
                    type: string
                    enum:
                      - running
                      - done
                      - failed
                  detail:
                    type: string
                    description: What the step did, or why it failed.
                  at:
                    type: string
                    format: date-time
                required:
                  - step
                  - outcome
                  - detail
                  - at
            iso:
              type: object
              nullable: true
              properties:
                effectiveDate:
                  type: string
                  nullable: true
                  format: date
                  description: Null when ISO’s filings give no date.
                lossCostsChanged:
                  type: boolean
                limitFactorsChanged:
                  type: boolean
                calculationsChanged:
                  type: boolean
                limitTablesReassigned:
                  type: boolean
                businessGroupsChanged:
                  type: boolean
                productsIncludedChanged:
                  type: boolean
                watched:
                  type: array
                  items:
                    type: object
                    properties:
                      item:
                        type: string
                      presentInNew:
                        type: boolean
                      productsLossCostFiled:
                        type: boolean
                    required:
                      - item
                      - presentInNew
                      - productsLossCostFiled
                evidence:
                  type: array
                  items:
                    oneOf:
                      - type: object
                        properties:
                          kind:
                            type: string
                            enum:
                              - document
                          fact:
                            type: string
                            nullable: true
                            description: The ISO fact it supports. Null when it names none.
                          filing:
                            type: string
                            nullable: true
                            description: The SERFF tracking number. Null for no filing.
                          document:
                            type: string
                          artifactId:
                            type: string
                            nullable: true
                            format: uuid
                            description: Null when it is not a Vault artifact.
                          page:
                            type: integer
                            nullable: true
                            minimum: 1
                            description: Null when the page is not known.
                          says:
                            type: string
                        required:
                          - kind
                          - fact
                          - filing
                          - document
                          - artifactId
                          - page
                          - says
                      - type: object
                        properties:
                          kind:
                            type: string
                            enum:
                              - rater_file
                          raterId:
                            type: string
                            minLength: 1
                            maxLength: 200
                          release:
                            type: integer
                            minimum: 1
                            maximum: 1000000
                          file:
                            type: string
                          lines:
                            type: string
                            nullable: true
                            description: Null when it is the whole file.
                          says:
                            type: string
                        required:
                          - kind
                          - raterId
                          - release
                          - file
                          - lines
                          - says
              required:
                - effectiveDate
                - lossCostsChanged
                - limitFactorsChanged
                - calculationsChanged
                - limitTablesReassigned
                - businessGroupsChanged
                - productsIncludedChanged
                - watched
                - evidence
              description: Null until the read_iso step is done.
            changes:
              type: array
              items:
                type: object
                properties:
                  change:
                    type: string
                    pattern: ^[a-z][a-z0-9_]{0,63}$
                    description: >-
                      One of the carrier’s changes to ISO, as its guideline
                      names it, such as d01.
                  label:
                    type: string
                  where:
                    type: array
                    items:
                      type: object
                      properties:
                        kind:
                          type: string
                          enum:
                            - table
                            - row
                            - step
                            - constant
                            - record
                            - type
                            - input
                            - refusal
                            - spec
                            - sources
                        name:
                          type: string
                      required:
                        - kind
                        - name
                    description: >-
                      The rater items the guideline declares for it. Empty until
                      carry_over has run.
                  status:
                    type: string
                    nullable: true
                    enum:
                      - unchanged
                      - edited
                      - dropped
                      - not_in_rater
                      - null
                    description: >-
                      unchanged: its items equal V0’s. edited: a version changed
                      them. dropped: none is left. not_in_rater: the guideline
                      declares no item. Null until carry_over has run.
                  editedBy:
                    type: string
                    nullable: true
                    pattern: ^V[1-9][0-9]{0,5}$
                    description: >-
                      The latest version that changed its items. Null when none
                      did.
                  flags:
                    type: array
                    items:
                      type: object
                      properties:
                        flag:
                          type: string
                          enum:
                            - cites_replaced_source
                        item:
                          type: string
                        detail:
                          type: string
                      required:
                        - flag
                        - item
                        - detail
                  detail:
                    type: string
                    nullable: true
                    description: >-
                      What carry_over found, in one line. Null until carry_over
                      has run.
                  rules:
                    type: array
                    items:
                      type: object
                      properties:
                        rule:
                          type: string
                          pattern: ^[a-z][a-z0-9_]{0,63}$
                          description: >-
                            A decision: the guideline rule that fired, such as
                            multiplier_changed, or peer_review.
                        label:
                          type: string
                        role:
                          type: string
                          pattern: ^[a-z][a-z0-9_]{0,63}$
                          description: A role that the guideline declares.
                        raised:
                          type: boolean
                          description: >-
                            The rule raised a notice on the current version. A
                            rule whose facts name changes, such as
                            carrier_change_edited, counts only when one names
                            this change.
                        detail:
                          type: string
                          nullable: true
                          description: >-
                            Raised: the facts of its notice. Quiet: the outcomes
                            the rule reads and their values. Null when the log
                            gives neither.
                      required:
                        - rule
                        - label
                        - role
                        - raised
                        - detail
                    description: >-
                      Every guideline rule that watches this change, raised or
                      not. Empty when the guideline names none.
                required:
                  - change
                  - label
                  - where
                  - status
                  - editedBy
                  - flags
                  - detail
                  - rules
              description: >-
                Every carrier change the guideline names, in its order, and how
                it carried over.
            currentVersion:
              type: string
              nullable: true
              pattern: ^V[1-9][0-9]{0,5}$
              description: The latest ready version. Null before V1.
            versions:
              type: array
              items:
                oneOf:
                  - type: object
                    properties:
                      name:
                        type: string
                        pattern: ^V[1-9][0-9]{0,5}$
                      parent:
                        type: string
                        pattern: ^V(0|[1-9][0-9]{0,5})$
                      reason:
                        type: object
                        properties:
                          words:
                            type: string
                          role:
                            type: string
                            nullable: true
                            pattern: ^[a-z][a-z0-9_]{0,63}$
                            description: >-
                              The role the log names for the reason: runner for
                              V1. Null when the log names none.
                        required:
                          - words
                          - role
                      change:
                        oneOf:
                          - type: object
                            properties:
                              kind:
                                type: string
                                enum:
                                  - hold_rate_change
                              segments:
                                type: array
                                items:
                                  type: string
                                  pattern: ^[a-z][a-z0-9_]{0,63}$
                                  description: >-
                                    One company and subline of the guideline,
                                    such as fcci_premops.
                              target:
                                type: number
                            required:
                              - kind
                              - segments
                              - target
                          - type: object
                            properties:
                              kind:
                                type: string
                                enum:
                                  - edit
                              diff:
                                type: string
                            required:
                              - kind
                              - diff
                          - nullable: true
                        description: What was asked. Null for V1.
                      edited:
                        type: array
                        items:
                          type: string
                          pattern: ^[a-z][a-z0-9_]{0,63}$
                          description: >-
                            One of the carrier’s changes to ISO, as its
                            guideline names it, such as d01.
                        description: The carrier changes this version edits.
                      requestedAt:
                        type: string
                        format: date-time
                      requestedBy:
                        type: object
                        nullable: true
                        properties:
                          kind:
                            type: string
                            enum:
                              - user
                              - group
                          id:
                            type: string
                            minLength: 1
                          name:
                            type: string
                            nullable: true
                            description: Null when the user or group no longer exists.
                        required:
                          - kind
                          - id
                          - name
                        description: Null for V1, which the runner makes.
                      run:
                        type: object
                        nullable: true
                        properties:
                          id:
                            type: string
                            format: uuid
                            description: >-
                              The procedure run’s id, as `getProcedureRun` reads
                              it.
                          webUrl:
                            type: string
                            format: uri
                            description: The run’s page.
                        required:
                          - id
                          - webUrl
                        description: >-
                          The job that makes this version. Null for V1, which
                          the first pass makes (the rebuild’s `run`), until the
                          job is recorded, when the caller cannot open it, and
                          when its lookup failed for this read.
                      status:
                        type: string
                        enum:
                          - building
                      rater:
                        nullable: true
                      cases:
                        nullable: true
                      book:
                        nullable: true
                      exhibits:
                        type: array
                        items:
                          type: object
                          properties:
                            name:
                              type: string
                            artifactId:
                              type: string
                              format: uuid
                              description: A Vault artifact id.
                            sha256:
                              type: string
                              pattern: ^[0-9a-f]{64}$
                          required:
                            - name
                            - artifactId
                            - sha256
                        maxItems: 0
                    required:
                      - name
                      - parent
                      - reason
                      - change
                      - edited
                      - requestedAt
                      - requestedBy
                      - run
                      - status
                      - rater
                      - cases
                      - book
                      - exhibits
                  - type: object
                    properties:
                      name:
                        type: string
                        pattern: ^V[1-9][0-9]{0,5}$
                      parent:
                        type: string
                        pattern: ^V(0|[1-9][0-9]{0,5})$
                      reason:
                        type: object
                        properties:
                          words:
                            type: string
                          role:
                            type: string
                            nullable: true
                            pattern: ^[a-z][a-z0-9_]{0,63}$
                            description: >-
                              The role the log names for the reason: runner for
                              V1. Null when the log names none.
                        required:
                          - words
                          - role
                      change:
                        oneOf:
                          - type: object
                            properties:
                              kind:
                                type: string
                                enum:
                                  - hold_rate_change
                              segments:
                                type: array
                                items:
                                  type: string
                                  pattern: ^[a-z][a-z0-9_]{0,63}$
                                  description: >-
                                    One company and subline of the guideline,
                                    such as fcci_premops.
                              target:
                                type: number
                            required:
                              - kind
                              - segments
                              - target
                          - type: object
                            properties:
                              kind:
                                type: string
                                enum:
                                  - edit
                              diff:
                                type: string
                            required:
                              - kind
                              - diff
                          - nullable: true
                        description: What was asked. Null for V1.
                      edited:
                        type: array
                        items:
                          type: string
                          pattern: ^[a-z][a-z0-9_]{0,63}$
                          description: >-
                            One of the carrier’s changes to ISO, as its
                            guideline names it, such as d01.
                        description: The carrier changes this version edits.
                      requestedAt:
                        type: string
                        format: date-time
                      requestedBy:
                        type: object
                        nullable: true
                        properties:
                          kind:
                            type: string
                            enum:
                              - user
                              - group
                          id:
                            type: string
                            minLength: 1
                          name:
                            type: string
                            nullable: true
                            description: Null when the user or group no longer exists.
                        required:
                          - kind
                          - id
                          - name
                        description: Null for V1, which the runner makes.
                      run:
                        type: object
                        nullable: true
                        properties:
                          id:
                            type: string
                            format: uuid
                            description: >-
                              The procedure run’s id, as `getProcedureRun` reads
                              it.
                          webUrl:
                            type: string
                            format: uri
                            description: The run’s page.
                        required:
                          - id
                          - webUrl
                        description: >-
                          The job that makes this version. Null for V1, which
                          the first pass makes (the rebuild’s `run`), until the
                          job is recorded, when the caller cannot open it, and
                          when its lookup failed for this read.
                      status:
                        type: string
                        enum:
                          - ready
                      rater:
                        type: object
                        properties:
                          raterId:
                            type: string
                            minLength: 1
                            maxLength: 200
                          release:
                            type: integer
                            minimum: 1
                            maximum: 1000000
                          bundleId:
                            type: string
                            pattern: ^[0-9a-f]{64}$
                        required:
                          - raterId
                          - release
                          - bundleId
                      cases:
                        type: object
                        nullable: true
                        properties:
                          total:
                            type: integer
                            minimum: 0
                          passed:
                            type: integer
                            minimum: 0
                          newPremium:
                            type: integer
                            minimum: 0
                        required:
                          - total
                          - passed
                          - newPremium
                        description: >-
                          The worked cases rated on this version. Null when the
                          rebuild has no worked cases.
                      book:
                        type: object
                        properties:
                          policies:
                            type: integer
                            minimum: 0
                          policiesFailed:
                            type: integer
                            minimum: 0
                          policiesChanged:
                            type: integer
                            minimum: 0
                          premium:
                            type: integer
                            minimum: 0
                            description: Written premium on V0, in dollars.
                          premiumChange:
                            type: number
                          lossCostChange:
                            type: number
                          multiplierChange:
                            type: number
                          lowestChange:
                            type: number
                          highestChange:
                            type: number
                          segments:
                            type: array
                            items:
                              type: object
                              properties:
                                segment:
                                  type: string
                                  pattern: ^[a-z][a-z0-9_]{0,63}$
                                  description: >-
                                    One company and subline of the guideline,
                                    such as fcci_premops.
                                label:
                                  type: string
                                premium:
                                  type: integer
                                  minimum: 0
                                premiumChange:
                                  type: number
                                  description: Exhibit 1 line 22.
                                lossCostChange:
                                  type: number
                                  description: Exhibit 1 line 23.
                                multiplierChange:
                                  type: number
                                  description: Exhibit 1 line 24.
                                multiplierBefore:
                                  type: number
                                  description: 'Exhibit 1 line 25: V0’s multiplier.'
                                multiplierAfter:
                                  type: number
                                  description: Exhibit 1 line 26.
                              required:
                                - segment
                                - label
                                - premium
                                - premiumChange
                                - lossCostChange
                                - multiplierChange
                                - multiplierBefore
                                - multiplierAfter
                          bands:
                            type: array
                            items:
                              type: object
                              properties:
                                band:
                                  type: string
                                  enum:
                                    - down_over_10
                                    - down_5_to_10
                                    - down_0_to_5
                                    - no_change
                                    - up_0_to_5
                                    - up_5_to_10
                                    - up_10_to_20
                                    - up_over_20
                                policies:
                                  type: integer
                                  minimum: 0
                              required:
                                - band
                                - policies
                          coverages:
                            type: array
                            items:
                              type: object
                              properties:
                                change:
                                  type: string
                                  pattern: ^[a-z][a-z0-9_]{0,63}$
                                  description: >-
                                    One of the carrier’s changes to ISO, as its
                                    guideline names it, such as d01.
                                label:
                                  type: string
                                policies:
                                  type: integer
                                  minimum: 0
                                largestMove:
                                  type: number
                              required:
                                - change
                                - label
                                - policies
                                - largestMove
                        required:
                          - policies
                          - policiesFailed
                          - policiesChanged
                          - premium
                          - premiumChange
                          - lossCostChange
                          - multiplierChange
                          - lowestChange
                          - highestChange
                          - segments
                          - bands
                          - coverages
                      exhibits:
                        type: array
                        items:
                          type: object
                          properties:
                            name:
                              type: string
                            artifactId:
                              type: string
                              format: uuid
                              description: A Vault artifact id.
                            sha256:
                              type: string
                              pattern: ^[0-9a-f]{64}$
                          required:
                            - name
                            - artifactId
                            - sha256
                    required:
                      - name
                      - parent
                      - reason
                      - change
                      - edited
                      - requestedAt
                      - requestedBy
                      - run
                      - status
                      - rater
                      - cases
                      - book
                      - exhibits
                  - type: object
                    properties:
                      name:
                        type: string
                        pattern: ^V[1-9][0-9]{0,5}$
                      parent:
                        type: string
                        pattern: ^V(0|[1-9][0-9]{0,5})$
                      reason:
                        type: object
                        properties:
                          words:
                            type: string
                          role:
                            type: string
                            nullable: true
                            pattern: ^[a-z][a-z0-9_]{0,63}$
                            description: >-
                              The role the log names for the reason: runner for
                              V1. Null when the log names none.
                        required:
                          - words
                          - role
                      change:
                        oneOf:
                          - type: object
                            properties:
                              kind:
                                type: string
                                enum:
                                  - hold_rate_change
                              segments:
                                type: array
                                items:
                                  type: string
                                  pattern: ^[a-z][a-z0-9_]{0,63}$
                                  description: >-
                                    One company and subline of the guideline,
                                    such as fcci_premops.
                              target:
                                type: number
                            required:
                              - kind
                              - segments
                              - target
                          - type: object
                            properties:
                              kind:
                                type: string
                                enum:
                                  - edit
                              diff:
                                type: string
                            required:
                              - kind
                              - diff
                          - nullable: true
                        description: What was asked. Null for V1.
                      edited:
                        type: array
                        items:
                          type: string
                          pattern: ^[a-z][a-z0-9_]{0,63}$
                          description: >-
                            One of the carrier’s changes to ISO, as its
                            guideline names it, such as d01.
                        description: The carrier changes this version edits.
                      requestedAt:
                        type: string
                        format: date-time
                      requestedBy:
                        type: object
                        nullable: true
                        properties:
                          kind:
                            type: string
                            enum:
                              - user
                              - group
                          id:
                            type: string
                            minLength: 1
                          name:
                            type: string
                            nullable: true
                            description: Null when the user or group no longer exists.
                        required:
                          - kind
                          - id
                          - name
                        description: Null for V1, which the runner makes.
                      run:
                        type: object
                        nullable: true
                        properties:
                          id:
                            type: string
                            format: uuid
                            description: >-
                              The procedure run’s id, as `getProcedureRun` reads
                              it.
                          webUrl:
                            type: string
                            format: uri
                            description: The run’s page.
                        required:
                          - id
                          - webUrl
                        description: >-
                          The job that makes this version. Null for V1, which
                          the first pass makes (the rebuild’s `run`), until the
                          job is recorded, when the caller cannot open it, and
                          when its lookup failed for this read.
                      status:
                        type: string
                        enum:
                          - failed
                      rater:
                        type: object
                        nullable: true
                        properties:
                          raterId:
                            type: string
                            minLength: 1
                            maxLength: 200
                          release:
                            type: integer
                            minimum: 1
                            maximum: 1000000
                          bundleId:
                            type: string
                            pattern: ^[0-9a-f]{64}$
                        required:
                          - raterId
                          - release
                          - bundleId
                        description: Null when the build did not finish.
                      cases:
                        type: object
                        nullable: true
                        properties:
                          total:
                            type: integer
                            minimum: 0
                          passed:
                            type: integer
                            minimum: 0
                          newPremium:
                            type: integer
                            minimum: 0
                        required:
                          - total
                          - passed
                          - newPremium
                        description: >-
                          Null when the cases were not rated, and when the
                          rebuild has no worked cases.
                      book:
                        type: object
                        nullable: true
                        properties:
                          policies:
                            type: integer
                            minimum: 0
                          policiesFailed:
                            type: integer
                            minimum: 0
                          policiesChanged:
                            type: integer
                            minimum: 0
                          premium:
                            type: integer
                            minimum: 0
                            description: Written premium on V0, in dollars.
                          premiumChange:
                            type: number
                          lossCostChange:
                            type: number
                          multiplierChange:
                            type: number
                          lowestChange:
                            type: number
                          highestChange:
                            type: number
                          segments:
                            type: array
                            items:
                              type: object
                              properties:
                                segment:
                                  type: string
                                  pattern: ^[a-z][a-z0-9_]{0,63}$
                                  description: >-
                                    One company and subline of the guideline,
                                    such as fcci_premops.
                                label:
                                  type: string
                                premium:
                                  type: integer
                                  minimum: 0
                                premiumChange:
                                  type: number
                                  description: Exhibit 1 line 22.
                                lossCostChange:
                                  type: number
                                  description: Exhibit 1 line 23.
                                multiplierChange:
                                  type: number
                                  description: Exhibit 1 line 24.
                                multiplierBefore:
                                  type: number
                                  description: 'Exhibit 1 line 25: V0’s multiplier.'
                                multiplierAfter:
                                  type: number
                                  description: Exhibit 1 line 26.
                              required:
                                - segment
                                - label
                                - premium
                                - premiumChange
                                - lossCostChange
                                - multiplierChange
                                - multiplierBefore
                                - multiplierAfter
                          bands:
                            type: array
                            items:
                              type: object
                              properties:
                                band:
                                  type: string
                                  enum:
                                    - down_over_10
                                    - down_5_to_10
                                    - down_0_to_5
                                    - no_change
                                    - up_0_to_5
                                    - up_5_to_10
                                    - up_10_to_20
                                    - up_over_20
                                policies:
                                  type: integer
                                  minimum: 0
                              required:
                                - band
                                - policies
                          coverages:
                            type: array
                            items:
                              type: object
                              properties:
                                change:
                                  type: string
                                  pattern: ^[a-z][a-z0-9_]{0,63}$
                                  description: >-
                                    One of the carrier’s changes to ISO, as its
                                    guideline names it, such as d01.
                                label:
                                  type: string
                                policies:
                                  type: integer
                                  minimum: 0
                                largestMove:
                                  type: number
                              required:
                                - change
                                - label
                                - policies
                                - largestMove
                        required:
                          - policies
                          - policiesFailed
                          - policiesChanged
                          - premium
                          - premiumChange
                          - lossCostChange
                          - multiplierChange
                          - lowestChange
                          - highestChange
                          - segments
                          - bands
                          - coverages
                        description: Null when the book was not rated.
                      exhibits:
                        type: array
                        items:
                          type: object
                          properties:
                            name:
                              type: string
                            artifactId:
                              type: string
                              format: uuid
                              description: A Vault artifact id.
                            sha256:
                              type: string
                              pattern: ^[0-9a-f]{64}$
                          required:
                            - name
                            - artifactId
                            - sha256
                        maxItems: 0
                      failure:
                        type: object
                        properties:
                          code:
                            type: string
                            enum:
                              - edit_does_not_apply
                              - edit_has_no_effect
                              - unexpected_case
                              - book_not_rated
                              - build_failed
                          message:
                            type: string
                          step:
                            type: string
                            description: The step of the job that failed, when one did.
                        required:
                          - code
                          - message
                    required:
                      - name
                      - parent
                      - reason
                      - change
                      - edited
                      - requestedAt
                      - requestedBy
                      - run
                      - status
                      - rater
                      - cases
                      - book
                      - exhibits
                      - failure
            notices:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                  text:
                    type: string
                  forVersion:
                    type: string
                    pattern: ^V[1-9][0-9]{0,5}$
                required:
                  - id
                  - text
                  - forVersion
              description: >-
                What the guideline notes on the current version, for a person to
                look at.
            closedAt:
              nullable: true
          required:
            - id
            - project
            - productId
            - state
            - createdAt
            - createdBy
            - inputs
            - missingToBuild
            - nextActions
            - status
            - revision
            - builtAt
            - builtBy
            - circulars
            - run
            - steps
            - iso
            - changes
            - currentVersion
            - versions
            - notices
            - closedAt
        - type: object
          properties:
            id:
              type: string
              format: uuid
              description: The rater rebuild’s id, a UUID.
            project:
              type: object
              properties:
                id:
                  type: string
                  format: uuid
                  description: >-
                    A circular project: a platform Project with projectType
                    iso_circular.
                title:
                  type: string
                webUrl:
                  type: string
                  nullable: true
                  format: uri
                  description: The project’s page. Null when the caller cannot open it.
              required:
                - id
                - title
                - webUrl
            productId:
              type: string
              minLength: 1
              maxLength: 200
              description: >-
                The product the rater serves: a Catalog product record id. A
                rebuild created before rating setups may hold another product
                id.
            state:
              type: string
              enum:
                - AL
                - AK
                - AZ
                - AR
                - CA
                - CO
                - CT
                - DE
                - DC
                - FL
                - GA
                - HI
                - ID
                - IL
                - IN
                - IA
                - KS
                - KY
                - LA
                - ME
                - MD
                - MA
                - MI
                - MN
                - MS
                - MO
                - MT
                - NE
                - NV
                - NH
                - NJ
                - NM
                - NY
                - NC
                - ND
                - OH
                - OK
                - OR
                - PA
                - RI
                - SC
                - SD
                - TN
                - TX
                - UT
                - VT
                - VA
                - WA
                - WV
                - WI
                - WY
              description: A state, by its two-letter USPS code in capitals, such as VA.
            createdAt:
              type: string
              format: date-time
            createdBy:
              type: object
              properties:
                kind:
                  type: string
                  enum:
                    - user
                    - group
                id:
                  type: string
                  minLength: 1
                name:
                  type: string
                  nullable: true
                  description: Null when the user or group no longer exists.
              required:
                - kind
                - id
                - name
            inputs:
              type: object
              properties:
                ratingSetup:
                  type: object
                  nullable: true
                  properties:
                    id:
                      type: string
                      format: uuid
                      description: >-
                        The product’s rating setup in the state, a
                        product_rating_setups record: the rater, the guideline
                        and the files the rebuild reads.
                  required:
                    - id
                  description: >-
                    The product’s rating setup in the state that the inputs come
                    from. On a draft, null when the product has none in the
                    state. On a built rebuild, the setup its build read; null
                    when its log does not name one: a rebuild built before
                    rating setups, or one whose runner has not started yet.
                rater:
                  type: object
                  nullable: true
                  properties:
                    raterId:
                      type: string
                      minLength: 1
                      maxLength: 200
                    release:
                      type: integer
                      minimum: 1
                      maximum: 1000000
                    bundleId:
                      type: string
                      nullable: true
                      pattern: ^[0-9a-f]{64}$
                      description: Null until the build pins the release.
                  required:
                    - raterId
                    - release
                    - bundleId
                  description: >-
                    V0: the rater release the rating setup pins, the one in
                    force. Null when the setup names no rater.
                guideline:
                  type: object
                  nullable: true
                  properties:
                    guidelineId:
                      type: string
                      minLength: 1
                      maxLength: 128
                      pattern: ^[a-z0-9][a-z0-9._-]{0,127}$
                      description: >-
                        A rebuild guideline’s program id, as
                        listRebuildGuidelines gives it: lowercase letters,
                        digits, dots, underscores and hyphens.
                    release:
                      type: integer
                      minimum: 1
                      maximum: 1000000
                    title:
                      type: string
                      nullable: true
                      description: Null when the caller cannot read the release.
                  required:
                    - guidelineId
                    - release
                    - title
                  description: >-
                    The rebuild guideline release the rating setup pins. Null
                    when the setup names none.
                book:
                  type: object
                  nullable: true
                  properties:
                    artifactId:
                      type: string
                      format: uuid
                      description: A Vault artifact id.
                    name:
                      type: string
                      nullable: true
                      description: Null when the caller cannot read the artifact.
                    sha256:
                      type: string
                      nullable: true
                      pattern: ^[0-9a-f]{64}$
                      description: The pinned bytes. Null until the build pins them.
                  required:
                    - artifactId
                    - name
                    - sha256
                  description: >-
                    The in-force policies: the newest file in the rating setup’s
                    In-force book folder, the one uploaded last. A new version
                    of an older file does not make it the newest. Null when the
                    folder is empty.
                workedCases:
                  type: object
                  nullable: true
                  properties:
                    artifactId:
                      type: string
                      format: uuid
                      description: A Vault artifact id.
                    name:
                      type: string
                      nullable: true
                      description: Null when the caller cannot read the artifact.
                    sha256:
                      type: string
                      nullable: true
                      pattern: ^[0-9a-f]{64}$
                      description: The pinned bytes. Null until the build pins them.
                  required:
                    - artifactId
                    - name
                    - sha256
                  description: >-
                    Optional: the worked cases the rebuild rates on each
                    version, as createRaterRebuild or updateRaterRebuild set
                    them. Null when none were given: the rebuild then rates no
                    worked cases.
                experienceFile:
                  type: object
                  nullable: true
                  properties:
                    artifactId:
                      type: string
                      format: uuid
                      description: A Vault artifact id.
                    name:
                      type: string
                      nullable: true
                      description: Null when the caller cannot read the artifact.
                    sha256:
                      type: string
                      nullable: true
                      pattern: ^[0-9a-f]{64}$
                      description: The pinned bytes. Null until the build pins them.
                  required:
                    - artifactId
                    - name
                    - sha256
                  description: >-
                    Optional: the newest file in the rating setup’s Experience
                    file folder, the one uploaded last. Null when the folder is
                    empty, and Exhibit 1 lines 1 to 21 then stay empty.
                circulars:
                  type: array
                  items:
                    type: string
                    pattern: ^[A-Z]{2}-(?:19|20)\d{2}-[A-Z][A-Z0-9]{1,11}$
                    description: >-
                      An ISO circular, such as GL-2025-IPOP1: its line, year and
                      revision code.
                  description: >-
                    The ISO circulars the rebuild applies: the project’s own
                    first, then the ones updateRaterRebuild’s alsoApply adds.
              required:
                - ratingSetup
                - rater
                - guideline
                - book
                - workedCases
                - experienceFile
                - circulars
            missingToBuild:
              type: array
              items:
                type: string
                enum:
                  - ratingSetup
                  - rater
                  - guideline
                  - book
              description: >-
                On a draft, the required inputs that the product’s rating setup
                does not give now. Empty once built.
            nextActions:
              type: array
              items:
                type: string
                enum:
                  - set_inputs
                  - build
                  - create_version
                  - finish
                  - stop
            status:
              type: string
              enum:
                - approved
                - stopped
            revision:
              type: integer
              minimum: 0
              description: The log position of this read. Send it back on writes.
            builtAt:
              type: string
              format: date-time
            builtBy:
              type: object
              properties:
                kind:
                  type: string
                  enum:
                    - user
                    - group
                id:
                  type: string
                  minLength: 1
                name:
                  type: string
                  nullable: true
                  description: Null when the user or group no longer exists.
              required:
                - kind
                - id
                - name
            circulars:
              type: array
              items:
                type: object
                properties:
                  circular:
                    type: string
                  filing:
                    type: string
                  subject:
                    type: string
                  statedEffect:
                    type: number
                    nullable: true
                    description: >-
                      ISO’s overall rate effect of the filing in the state, as
                      SERFF records it: the overall rate impact, or the overall
                      indicated change when SERFF records no impact. Null when
                      SERFF records neither.
                required:
                  - circular
                  - filing
                  - subject
                  - statedEffect
            run:
              type: object
              nullable: true
              properties:
                id:
                  type: string
                  format: uuid
                  description: The procedure run’s id, as `getProcedureRun` reads it.
                webUrl:
                  type: string
                  format: uri
                  description: The run’s page.
              required:
                - id
                - webUrl
              description: >-
                The first pass’s procedure run, whose progress `steps` shows.
                Null until the build keeps it, when the caller cannot open it,
                and when its lookup failed for this read.
            steps:
              type: array
              items:
                type: object
                properties:
                  step:
                    type: string
                    enum:
                      - start
                      - read_iso
                      - rebase
                      - carry_over
                      - review
                      - rate_book
                      - make_exhibits
                  outcome:
                    type: string
                    enum:
                      - running
                      - done
                      - failed
                  detail:
                    type: string
                    description: What the step did, or why it failed.
                  at:
                    type: string
                    format: date-time
                required:
                  - step
                  - outcome
                  - detail
                  - at
            iso:
              type: object
              nullable: true
              properties:
                effectiveDate:
                  type: string
                  nullable: true
                  format: date
                  description: Null when ISO’s filings give no date.
                lossCostsChanged:
                  type: boolean
                limitFactorsChanged:
                  type: boolean
                calculationsChanged:
                  type: boolean
                limitTablesReassigned:
                  type: boolean
                businessGroupsChanged:
                  type: boolean
                productsIncludedChanged:
                  type: boolean
                watched:
                  type: array
                  items:
                    type: object
                    properties:
                      item:
                        type: string
                      presentInNew:
                        type: boolean
                      productsLossCostFiled:
                        type: boolean
                    required:
                      - item
                      - presentInNew
                      - productsLossCostFiled
                evidence:
                  type: array
                  items:
                    oneOf:
                      - type: object
                        properties:
                          kind:
                            type: string
                            enum:
                              - document
                          fact:
                            type: string
                            nullable: true
                            description: The ISO fact it supports. Null when it names none.
                          filing:
                            type: string
                            nullable: true
                            description: The SERFF tracking number. Null for no filing.
                          document:
                            type: string
                          artifactId:
                            type: string
                            nullable: true
                            format: uuid
                            description: Null when it is not a Vault artifact.
                          page:
                            type: integer
                            nullable: true
                            minimum: 1
                            description: Null when the page is not known.
                          says:
                            type: string
                        required:
                          - kind
                          - fact
                          - filing
                          - document
                          - artifactId
                          - page
                          - says
                      - type: object
                        properties:
                          kind:
                            type: string
                            enum:
                              - rater_file
                          raterId:
                            type: string
                            minLength: 1
                            maxLength: 200
                          release:
                            type: integer
                            minimum: 1
                            maximum: 1000000
                          file:
                            type: string
                          lines:
                            type: string
                            nullable: true
                            description: Null when it is the whole file.
                          says:
                            type: string
                        required:
                          - kind
                          - raterId
                          - release
                          - file
                          - lines
                          - says
              required:
                - effectiveDate
                - lossCostsChanged
                - limitFactorsChanged
                - calculationsChanged
                - limitTablesReassigned
                - businessGroupsChanged
                - productsIncludedChanged
                - watched
                - evidence
              description: Null until the read_iso step is done.
            changes:
              type: array
              items:
                type: object
                properties:
                  change:
                    type: string
                    pattern: ^[a-z][a-z0-9_]{0,63}$
                    description: >-
                      One of the carrier’s changes to ISO, as its guideline
                      names it, such as d01.
                  label:
                    type: string
                  where:
                    type: array
                    items:
                      type: object
                      properties:
                        kind:
                          type: string
                          enum:
                            - table
                            - row
                            - step
                            - constant
                            - record
                            - type
                            - input
                            - refusal
                            - spec
                            - sources
                        name:
                          type: string
                      required:
                        - kind
                        - name
                    description: >-
                      The rater items the guideline declares for it. Empty until
                      carry_over has run.
                  status:
                    type: string
                    nullable: true
                    enum:
                      - unchanged
                      - edited
                      - dropped
                      - not_in_rater
                      - null
                    description: >-
                      unchanged: its items equal V0’s. edited: a version changed
                      them. dropped: none is left. not_in_rater: the guideline
                      declares no item. Null until carry_over has run.
                  editedBy:
                    type: string
                    nullable: true
                    pattern: ^V[1-9][0-9]{0,5}$
                    description: >-
                      The latest version that changed its items. Null when none
                      did.
                  flags:
                    type: array
                    items:
                      type: object
                      properties:
                        flag:
                          type: string
                          enum:
                            - cites_replaced_source
                        item:
                          type: string
                        detail:
                          type: string
                      required:
                        - flag
                        - item
                        - detail
                  detail:
                    type: string
                    nullable: true
                    description: >-
                      What carry_over found, in one line. Null until carry_over
                      has run.
                  rules:
                    type: array
                    items:
                      type: object
                      properties:
                        rule:
                          type: string
                          pattern: ^[a-z][a-z0-9_]{0,63}$
                          description: >-
                            A decision: the guideline rule that fired, such as
                            multiplier_changed, or peer_review.
                        label:
                          type: string
                        role:
                          type: string
                          pattern: ^[a-z][a-z0-9_]{0,63}$
                          description: A role that the guideline declares.
                        raised:
                          type: boolean
                          description: >-
                            The rule raised a notice on the current version. A
                            rule whose facts name changes, such as
                            carrier_change_edited, counts only when one names
                            this change.
                        detail:
                          type: string
                          nullable: true
                          description: >-
                            Raised: the facts of its notice. Quiet: the outcomes
                            the rule reads and their values. Null when the log
                            gives neither.
                      required:
                        - rule
                        - label
                        - role
                        - raised
                        - detail
                    description: >-
                      Every guideline rule that watches this change, raised or
                      not. Empty when the guideline names none.
                required:
                  - change
                  - label
                  - where
                  - status
                  - editedBy
                  - flags
                  - detail
                  - rules
              description: >-
                Every carrier change the guideline names, in its order, and how
                it carried over.
            currentVersion:
              type: string
              nullable: true
              pattern: ^V[1-9][0-9]{0,5}$
              description: The latest ready version. Null before V1.
            versions:
              type: array
              items:
                oneOf:
                  - type: object
                    properties:
                      name:
                        type: string
                        pattern: ^V[1-9][0-9]{0,5}$
                      parent:
                        type: string
                        pattern: ^V(0|[1-9][0-9]{0,5})$
                      reason:
                        type: object
                        properties:
                          words:
                            type: string
                          role:
                            type: string
                            nullable: true
                            pattern: ^[a-z][a-z0-9_]{0,63}$
                            description: >-
                              The role the log names for the reason: runner for
                              V1. Null when the log names none.
                        required:
                          - words
                          - role
                      change:
                        oneOf:
                          - type: object
                            properties:
                              kind:
                                type: string
                                enum:
                                  - hold_rate_change
                              segments:
                                type: array
                                items:
                                  type: string
                                  pattern: ^[a-z][a-z0-9_]{0,63}$
                                  description: >-
                                    One company and subline of the guideline,
                                    such as fcci_premops.
                              target:
                                type: number
                            required:
                              - kind
                              - segments
                              - target
                          - type: object
                            properties:
                              kind:
                                type: string
                                enum:
                                  - edit
                              diff:
                                type: string
                            required:
                              - kind
                              - diff
                          - nullable: true
                        description: What was asked. Null for V1.
                      edited:
                        type: array
                        items:
                          type: string
                          pattern: ^[a-z][a-z0-9_]{0,63}$
                          description: >-
                            One of the carrier’s changes to ISO, as its
                            guideline names it, such as d01.
                        description: The carrier changes this version edits.
                      requestedAt:
                        type: string
                        format: date-time
                      requestedBy:
                        type: object
                        nullable: true
                        properties:
                          kind:
                            type: string
                            enum:
                              - user
                              - group
                          id:
                            type: string
                            minLength: 1
                          name:
                            type: string
                            nullable: true
                            description: Null when the user or group no longer exists.
                        required:
                          - kind
                          - id
                          - name
                        description: Null for V1, which the runner makes.
                      run:
                        type: object
                        nullable: true
                        properties:
                          id:
                            type: string
                            format: uuid
                            description: >-
                              The procedure run’s id, as `getProcedureRun` reads
                              it.
                          webUrl:
                            type: string
                            format: uri
                            description: The run’s page.
                        required:
                          - id
                          - webUrl
                        description: >-
                          The job that makes this version. Null for V1, which
                          the first pass makes (the rebuild’s `run`), until the
                          job is recorded, when the caller cannot open it, and
                          when its lookup failed for this read.
                      status:
                        type: string
                        enum:
                          - building
                      rater:
                        nullable: true
                      cases:
                        nullable: true
                      book:
                        nullable: true
                      exhibits:
                        type: array
                        items:
                          type: object
                          properties:
                            name:
                              type: string
                            artifactId:
                              type: string
                              format: uuid
                              description: A Vault artifact id.
                            sha256:
                              type: string
                              pattern: ^[0-9a-f]{64}$
                          required:
                            - name
                            - artifactId
                            - sha256
                        maxItems: 0
                    required:
                      - name
                      - parent
                      - reason
                      - change
                      - edited
                      - requestedAt
                      - requestedBy
                      - run
                      - status
                      - rater
                      - cases
                      - book
                      - exhibits
                  - type: object
                    properties:
                      name:
                        type: string
                        pattern: ^V[1-9][0-9]{0,5}$
                      parent:
                        type: string
                        pattern: ^V(0|[1-9][0-9]{0,5})$
                      reason:
                        type: object
                        properties:
                          words:
                            type: string
                          role:
                            type: string
                            nullable: true
                            pattern: ^[a-z][a-z0-9_]{0,63}$
                            description: >-
                              The role the log names for the reason: runner for
                              V1. Null when the log names none.
                        required:
                          - words
                          - role
                      change:
                        oneOf:
                          - type: object
                            properties:
                              kind:
                                type: string
                                enum:
                                  - hold_rate_change
                              segments:
                                type: array
                                items:
                                  type: string
                                  pattern: ^[a-z][a-z0-9_]{0,63}$
                                  description: >-
                                    One company and subline of the guideline,
                                    such as fcci_premops.
                              target:
                                type: number
                            required:
                              - kind
                              - segments
                              - target
                          - type: object
                            properties:
                              kind:
                                type: string
                                enum:
                                  - edit
                              diff:
                                type: string
                            required:
                              - kind
                              - diff
                          - nullable: true
                        description: What was asked. Null for V1.
                      edited:
                        type: array
                        items:
                          type: string
                          pattern: ^[a-z][a-z0-9_]{0,63}$
                          description: >-
                            One of the carrier’s changes to ISO, as its
                            guideline names it, such as d01.
                        description: The carrier changes this version edits.
                      requestedAt:
                        type: string
                        format: date-time
                      requestedBy:
                        type: object
                        nullable: true
                        properties:
                          kind:
                            type: string
                            enum:
                              - user
                              - group
                          id:
                            type: string
                            minLength: 1
                          name:
                            type: string
                            nullable: true
                            description: Null when the user or group no longer exists.
                        required:
                          - kind
                          - id
                          - name
                        description: Null for V1, which the runner makes.
                      run:
                        type: object
                        nullable: true
                        properties:
                          id:
                            type: string
                            format: uuid
                            description: >-
                              The procedure run’s id, as `getProcedureRun` reads
                              it.
                          webUrl:
                            type: string
                            format: uri
                            description: The run’s page.
                        required:
                          - id
                          - webUrl
                        description: >-
                          The job that makes this version. Null for V1, which
                          the first pass makes (the rebuild’s `run`), until the
                          job is recorded, when the caller cannot open it, and
                          when its lookup failed for this read.
                      status:
                        type: string
                        enum:
                          - ready
                      rater:
                        type: object
                        properties:
                          raterId:
                            type: string
                            minLength: 1
                            maxLength: 200
                          release:
                            type: integer
                            minimum: 1
                            maximum: 1000000
                          bundleId:
                            type: string
                            pattern: ^[0-9a-f]{64}$
                        required:
                          - raterId
                          - release
                          - bundleId
                      cases:
                        type: object
                        nullable: true
                        properties:
                          total:
                            type: integer
                            minimum: 0
                          passed:
                            type: integer
                            minimum: 0
                          newPremium:
                            type: integer
                            minimum: 0
                        required:
                          - total
                          - passed
                          - newPremium
                        description: >-
                          The worked cases rated on this version. Null when the
                          rebuild has no worked cases.
                      book:
                        type: object
                        properties:
                          policies:
                            type: integer
                            minimum: 0
                          policiesFailed:
                            type: integer
                            minimum: 0
                          policiesChanged:
                            type: integer
                            minimum: 0
                          premium:
                            type: integer
                            minimum: 0
                            description: Written premium on V0, in dollars.
                          premiumChange:
                            type: number
                          lossCostChange:
                            type: number
                          multiplierChange:
                            type: number
                          lowestChange:
                            type: number
                          highestChange:
                            type: number
                          segments:
                            type: array
                            items:
                              type: object
                              properties:
                                segment:
                                  type: string
                                  pattern: ^[a-z][a-z0-9_]{0,63}$
                                  description: >-
                                    One company and subline of the guideline,
                                    such as fcci_premops.
                                label:
                                  type: string
                                premium:
                                  type: integer
                                  minimum: 0
                                premiumChange:
                                  type: number
                                  description: Exhibit 1 line 22.
                                lossCostChange:
                                  type: number
                                  description: Exhibit 1 line 23.
                                multiplierChange:
                                  type: number
                                  description: Exhibit 1 line 24.
                                multiplierBefore:
                                  type: number
                                  description: 'Exhibit 1 line 25: V0’s multiplier.'
                                multiplierAfter:
                                  type: number
                                  description: Exhibit 1 line 26.
                              required:
                                - segment
                                - label
                                - premium
                                - premiumChange
                                - lossCostChange
                                - multiplierChange
                                - multiplierBefore
                                - multiplierAfter
                          bands:
                            type: array
                            items:
                              type: object
                              properties:
                                band:
                                  type: string
                                  enum:
                                    - down_over_10
                                    - down_5_to_10
                                    - down_0_to_5
                                    - no_change
                                    - up_0_to_5
                                    - up_5_to_10
                                    - up_10_to_20
                                    - up_over_20
                                policies:
                                  type: integer
                                  minimum: 0
                              required:
                                - band
                                - policies
                          coverages:
                            type: array
                            items:
                              type: object
                              properties:
                                change:
                                  type: string
                                  pattern: ^[a-z][a-z0-9_]{0,63}$
                                  description: >-
                                    One of the carrier’s changes to ISO, as its
                                    guideline names it, such as d01.
                                label:
                                  type: string
                                policies:
                                  type: integer
                                  minimum: 0
                                largestMove:
                                  type: number
                              required:
                                - change
                                - label
                                - policies
                                - largestMove
                        required:
                          - policies
                          - policiesFailed
                          - policiesChanged
                          - premium
                          - premiumChange
                          - lossCostChange
                          - multiplierChange
                          - lowestChange
                          - highestChange
                          - segments
                          - bands
                          - coverages
                      exhibits:
                        type: array
                        items:
                          type: object
                          properties:
                            name:
                              type: string
                            artifactId:
                              type: string
                              format: uuid
                              description: A Vault artifact id.
                            sha256:
                              type: string
                              pattern: ^[0-9a-f]{64}$
                          required:
                            - name
                            - artifactId
                            - sha256
                    required:
                      - name
                      - parent
                      - reason
                      - change
                      - edited
                      - requestedAt
                      - requestedBy
                      - run
                      - status
                      - rater
                      - cases
                      - book
                      - exhibits
                  - type: object
                    properties:
                      name:
                        type: string
                        pattern: ^V[1-9][0-9]{0,5}$
                      parent:
                        type: string
                        pattern: ^V(0|[1-9][0-9]{0,5})$
                      reason:
                        type: object
                        properties:
                          words:
                            type: string
                          role:
                            type: string
                            nullable: true
                            pattern: ^[a-z][a-z0-9_]{0,63}$
                            description: >-
                              The role the log names for the reason: runner for
                              V1. Null when the log names none.
                        required:
                          - words
                          - role
                      change:
                        oneOf:
                          - type: object
                            properties:
                              kind:
                                type: string
                                enum:
                                  - hold_rate_change
                              segments:
                                type: array
                                items:
                                  type: string
                                  pattern: ^[a-z][a-z0-9_]{0,63}$
                                  description: >-
                                    One company and subline of the guideline,
                                    such as fcci_premops.
                              target:
                                type: number
                            required:
                              - kind
                              - segments
                              - target
                          - type: object
                            properties:
                              kind:
                                type: string
                                enum:
                                  - edit
                              diff:
                                type: string
                            required:
                              - kind
                              - diff
                          - nullable: true
                        description: What was asked. Null for V1.
                      edited:
                        type: array
                        items:
                          type: string
                          pattern: ^[a-z][a-z0-9_]{0,63}$
                          description: >-
                            One of the carrier’s changes to ISO, as its
                            guideline names it, such as d01.
                        description: The carrier changes this version edits.
                      requestedAt:
                        type: string
                        format: date-time
                      requestedBy:
                        type: object
                        nullable: true
                        properties:
                          kind:
                            type: string
                            enum:
                              - user
                              - group
                          id:
                            type: string
                            minLength: 1
                          name:
                            type: string
                            nullable: true
                            description: Null when the user or group no longer exists.
                        required:
                          - kind
                          - id
                          - name
                        description: Null for V1, which the runner makes.
                      run:
                        type: object
                        nullable: true
                        properties:
                          id:
                            type: string
                            format: uuid
                            description: >-
                              The procedure run’s id, as `getProcedureRun` reads
                              it.
                          webUrl:
                            type: string
                            format: uri
                            description: The run’s page.
                        required:
                          - id
                          - webUrl
                        description: >-
                          The job that makes this version. Null for V1, which
                          the first pass makes (the rebuild’s `run`), until the
                          job is recorded, when the caller cannot open it, and
                          when its lookup failed for this read.
                      status:
                        type: string
                        enum:
                          - failed
                      rater:
                        type: object
                        nullable: true
                        properties:
                          raterId:
                            type: string
                            minLength: 1
                            maxLength: 200
                          release:
                            type: integer
                            minimum: 1
                            maximum: 1000000
                          bundleId:
                            type: string
                            pattern: ^[0-9a-f]{64}$
                        required:
                          - raterId
                          - release
                          - bundleId
                        description: Null when the build did not finish.
                      cases:
                        type: object
                        nullable: true
                        properties:
                          total:
                            type: integer
                            minimum: 0
                          passed:
                            type: integer
                            minimum: 0
                          newPremium:
                            type: integer
                            minimum: 0
                        required:
                          - total
                          - passed
                          - newPremium
                        description: >-
                          Null when the cases were not rated, and when the
                          rebuild has no worked cases.
                      book:
                        type: object
                        nullable: true
                        properties:
                          policies:
                            type: integer
                            minimum: 0
                          policiesFailed:
                            type: integer
                            minimum: 0
                          policiesChanged:
                            type: integer
                            minimum: 0
                          premium:
                            type: integer
                            minimum: 0
                            description: Written premium on V0, in dollars.
                          premiumChange:
                            type: number
                          lossCostChange:
                            type: number
                          multiplierChange:
                            type: number
                          lowestChange:
                            type: number
                          highestChange:
                            type: number
                          segments:
                            type: array
                            items:
                              type: object
                              properties:
                                segment:
                                  type: string
                                  pattern: ^[a-z][a-z0-9_]{0,63}$
                                  description: >-
                                    One company and subline of the guideline,
                                    such as fcci_premops.
                                label:
                                  type: string
                                premium:
                                  type: integer
                                  minimum: 0
                                premiumChange:
                                  type: number
                                  description: Exhibit 1 line 22.
                                lossCostChange:
                                  type: number
                                  description: Exhibit 1 line 23.
                                multiplierChange:
                                  type: number
                                  description: Exhibit 1 line 24.
                                multiplierBefore:
                                  type: number
                                  description: 'Exhibit 1 line 25: V0’s multiplier.'
                                multiplierAfter:
                                  type: number
                                  description: Exhibit 1 line 26.
                              required:
                                - segment
                                - label
                                - premium
                                - premiumChange
                                - lossCostChange
                                - multiplierChange
                                - multiplierBefore
                                - multiplierAfter
                          bands:
                            type: array
                            items:
                              type: object
                              properties:
                                band:
                                  type: string
                                  enum:
                                    - down_over_10
                                    - down_5_to_10
                                    - down_0_to_5
                                    - no_change
                                    - up_0_to_5
                                    - up_5_to_10
                                    - up_10_to_20
                                    - up_over_20
                                policies:
                                  type: integer
                                  minimum: 0
                              required:
                                - band
                                - policies
                          coverages:
                            type: array
                            items:
                              type: object
                              properties:
                                change:
                                  type: string
                                  pattern: ^[a-z][a-z0-9_]{0,63}$
                                  description: >-
                                    One of the carrier’s changes to ISO, as its
                                    guideline names it, such as d01.
                                label:
                                  type: string
                                policies:
                                  type: integer
                                  minimum: 0
                                largestMove:
                                  type: number
                              required:
                                - change
                                - label
                                - policies
                                - largestMove
                        required:
                          - policies
                          - policiesFailed
                          - policiesChanged
                          - premium
                          - premiumChange
                          - lossCostChange
                          - multiplierChange
                          - lowestChange
                          - highestChange
                          - segments
                          - bands
                          - coverages
                        description: Null when the book was not rated.
                      exhibits:
                        type: array
                        items:
                          type: object
                          properties:
                            name:
                              type: string
                            artifactId:
                              type: string
                              format: uuid
                              description: A Vault artifact id.
                            sha256:
                              type: string
                              pattern: ^[0-9a-f]{64}$
                          required:
                            - name
                            - artifactId
                            - sha256
                        maxItems: 0
                      failure:
                        type: object
                        properties:
                          code:
                            type: string
                            enum:
                              - edit_does_not_apply
                              - edit_has_no_effect
                              - unexpected_case
                              - book_not_rated
                              - build_failed
                          message:
                            type: string
                          step:
                            type: string
                            description: The step of the job that failed, when one did.
                        required:
                          - code
                          - message
                    required:
                      - name
                      - parent
                      - reason
                      - change
                      - edited
                      - requestedAt
                      - requestedBy
                      - run
                      - status
                      - rater
                      - cases
                      - book
                      - exhibits
                      - failure
            notices:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                  text:
                    type: string
                  forVersion:
                    type: string
                    pattern: ^V[1-9][0-9]{0,5}$
                required:
                  - id
                  - text
                  - forVersion
              description: >-
                What the guideline notes on the current version, for a person to
                look at.
            closedAt:
              type: string
              format: date-time
          required:
            - id
            - project
            - productId
            - state
            - createdAt
            - createdBy
            - inputs
            - missingToBuild
            - nextActions
            - status
            - revision
            - builtAt
            - builtBy
            - circulars
            - run
            - steps
            - iso
            - changes
            - currentVersion
            - versions
            - notices
            - closedAt
    V2CodedError:
      allOf:
        - $ref: '#/components/schemas/V2Error'
        - type: object
          properties:
            code:
              type: string
              minLength: 1
              description: Stable error code. Clients must tolerate unknown future codes.
            details:
              type: array
              items:
                type: object
                properties:
                  location:
                    type: string
                    enum:
                      - path
                      - query
                      - header
                      - body
                  path:
                    type: array
                    items:
                      type: string
                      maxLength: 64
                    maxItems: 12
                  code:
                    type: string
                    enum:
                      - required
                      - invalid_type
                      - invalid_value
                      - unknown_field
                  message:
                    type: string
                    minLength: 1
                    maxLength: 200
                required:
                  - location
                  - path
                  - code
                  - message
              minItems: 1
              maxItems: 20
              description: Bounded safe validation issues; may omit some invalid fields.
            requestId:
              type: string
              minLength: 1
              maxLength: 128
              description: >-
                Existing server correlation for this HTTP attempt, when
                available.
            dataset:
              type: string
              enum:
                - naic
                - osha
              description: Dataset needed for dataset_not_enabled.
            businessCode:
              type: string
              description: The rater’s own refusal code, for business_rejection.
            violations:
              type: array
              items:
                type: object
                properties:
                  code:
                    type: string
                    description: Authored or built-in constraint code
                  message:
                    type: string
                    description: Authored message for the failed constraint
                  path:
                    type: string
                    description: Input path of the offending value; empty for the request
                  value:
                    nullable: true
                    description: Offending input value, size-bounded by the runtime
                  constraint:
                    type: string
                    description: The constraint the value failed, as text
                  cite:
                    type: string
                    nullable: true
                    description: >-
                      Filing citation of the constraint, when the source cites
                      one
                required:
                  - code
                  - message
                  - path
                  - value
                  - constraint
                  - cite
                additionalProperties: false
              maxItems: 256
              description: >-
                Each input constraint the submission failed, for invalid_inputs
                and business_rejection.
            violationsTruncated:
              type: boolean
              description: >-
                True when the rater reported more violations than violations
                holds.
            executionId:
              type: string
              description: >-
                The recorded execution of a failed rating, for rater rating
                failures.
            accessUrl:
              type: string
              nullable: true
              format: uri
              description: Not currently returned.
          required:
            - code
    RaterRebuildError:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
          description: >-
            rebuild_open, rebuild_inputs_invalid, idempotency_conflict and so
            on.
        problems:
          type: array
          items:
            type: object
            properties:
              path:
                type: array
                items:
                  type: string
                maxItems: 12
                description: The body path, such as ["rater"].
              code:
                type: string
                enum:
                  - not_a_circular_project
                  - product_mismatch
                  - state_mismatch
                  - product_not_available
                  - setup_missing
                  - input_missing
                  - input_unreadable
                  - release_not_found
                  - not_a_rebuild_guideline
                  - guideline_needs_review
                  - runner_not_installed
                  - circular_not_filed
                  - line_mismatch
                  - circular_repeated
              message:
                type: string
                minLength: 1
            required:
              - path
              - code
              - message
          description: 'Only with 422 rebuild_inputs_invalid: every failed check.'
        raterRebuildId:
          type: string
          format: uuid
          description: 'Only with 409 rebuild_open: the open rebuild.'
        requestId:
          type: string
      required:
        - error
        - code
    V2Error:
      type: object
      properties:
        error:
          type: string
          minLength: 1
          description: Human-readable explanation of the failure.
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Effective API key. Send Authorization: Bearer sk-eai-...'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.