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

# Get one version of a 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. One version as getRaterRebuild shows it (`V1`, `V2` and so on; V0 is `inputs.rater`), plus its whole `edit` against its parent. `edit` is null while the version builds.

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



## OpenAPI

````yaml /openapi.json get /insurance/rater-rebuilds/{id}/versions/{name}
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.effectiveai.app/api/v2
    description: Production
security:
  - bearerAuth: []
paths:
  /insurance/rater-rebuilds/{id}/versions/{name}:
    get:
      tags:
        - Rater rebuilds
      summary: Get one version of a 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. One version as getRaterRebuild shows it (`V1`, `V2` and so on; V0
        is `inputs.rater`), plus its whole `edit` against its parent. `edit` is
        null while the version builds.


        Alpha: this operation may change or be removed without notice.
      operationId: getRaterRebuildVersion
      parameters:
        - schema:
            type: string
            format: uuid
            description: The rater rebuild’s id, a UUID.
          required: true
          description: The rater rebuild’s id, a UUID.
          name: id
          in: path
        - schema:
            type: string
            pattern: ^V[1-9][0-9]{0,5}$
          required: true
          name: name
          in: path
      responses:
        '200':
          description: The version.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RaterRebuildVersion'
        '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'
        '404':
          description: >-
            No such rebuild or version, a draft, or a rebuild whose project the
            caller cannot read.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2CodedError'
        '409':
          description: >-
            rebuild_log_unreadable: the person who built the rebuild is no
            longer an active member, or can no longer read its guideline.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RaterRebuildError'
      security:
        - bearerAuth: []
components:
  schemas:
    RaterRebuildVersion:
      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
            edit:
              type: object
              nullable: true
              properties:
                files:
                  type: array
                  items:
                    oneOf:
                      - type: object
                        properties:
                          path:
                            type: string
                          kind:
                            type: string
                            enum:
                              - code
                          linesAdded:
                            type: integer
                            minimum: 0
                          linesRemoved:
                            type: integer
                            minimum: 0
                          hunks:
                            type: array
                            items:
                              type: object
                              properties:
                                at:
                                  type: string
                                  description: >-
                                    The hunk header, such as "@@ -14,10 +14,15
                                    @@".
                                lines:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      kind:
                                        type: string
                                        enum:
                                          - added
                                          - removed
                                          - context
                                      text:
                                        type: string
                                    required:
                                      - kind
                                      - text
                              required:
                                - at
                                - lines
                        required:
                          - path
                          - kind
                          - linesAdded
                          - linesRemoved
                          - hunks
                      - type: object
                        properties:
                          path:
                            type: string
                          kind:
                            type: string
                            enum:
                              - table
                          rowsChanged:
                            type: integer
                            minimum: 0
                          rowsTotal:
                            type: integer
                            minimum: 0
                          header:
                            type: string
                          samples:
                            type: array
                            items:
                              type: object
                              properties:
                                old:
                                  type: string
                                new:
                                  type: string
                              required:
                                - old
                                - new
                            maxItems: 3
                        required:
                          - path
                          - kind
                          - rowsChanged
                          - rowsTotal
                          - header
                          - samples
              required:
                - files
              description: The edit against the parent. Null while the version builds.
            tables:
              type: object
              nullable: true
              properties:
                lossCosts:
                  type: object
                  nullable: true
                  properties:
                    rows:
                      type: array
                      items:
                        type: object
                        properties:
                          subline:
                            type: string
                            enum:
                              - premops
                              - products
                          territory:
                            type: string
                            nullable: true
                            description: >-
                              The territory, such as "501". Null for products,
                              which have one loss cost.
                          classes:
                            type: integer
                            minimum: 0
                            description: >-
                              The classes with an ISO loss cost in both
                              releases, `filed_as` `loss_cost` in V0 and this
                              version and V0’s loss cost not zero.
                          up:
                            type: integer
                            minimum: 0
                          down:
                            type: integer
                            minimum: 0
                          same:
                            type: integer
                            minimum: 0
                          median:
                            type: number
                            nullable: true
                            description: The median move. Null when `classes` is 0.
                          lowest:
                            type: number
                            nullable: true
                            description: The lowest move. Null when `classes` is 0.
                          highest:
                            type: number
                            nullable: true
                            description: The highest move. Null when `classes` is 0.
                        required:
                          - subline
                          - territory
                          - classes
                          - up
                          - down
                          - same
                          - median
                          - lowest
                          - highest
                      description: Prem/Ops by territory, then products.
                    referred:
                      type: object
                      properties:
                        premops:
                          type: integer
                          minimum: 0
                        products:
                          type: integer
                          minimum: 0
                      required:
                        - premops
                        - products
                      description: Classes ISO a-rates (refers to the company), by subline.
                    productsIncluded:
                      type: integer
                      minimum: 0
                      description: >-
                        Classes whose products exposure is in the Prem/Ops loss
                        cost (`not_applicable`).
                  required:
                    - rows
                    - referred
                    - productsIncluded
                  description: Null unless both loss cost tables are in ISO’s layout.
                limitFactors:
                  type: object
                  nullable: true
                  properties:
                    tables:
                      type: array
                      items:
                        type: object
                        properties:
                          id:
                            type: string
                          label:
                            type: string
                        required:
                          - id
                          - label
                      description: >-
                        The Prem/Ops limit tables, such as `table_1`, in the
                        order of `cells`.
                    rows:
                      type: array
                      items:
                        type: object
                        properties:
                          limits:
                            type: string
                            description: >-
                              Occurrence/aggregate in thousands, such as
                              "100/200".
                          basic:
                            type: boolean
                            description: 'The basic limit: every factor is 1.'
                          cells:
                            type: array
                            items:
                              type: object
                              properties:
                                before:
                                  type: number
                                  nullable: true
                                  description: V0’s factor. Null when V0 has none.
                                after:
                                  type: number
                                  nullable: true
                                  description: This version’s. Null when it has none.
                              required:
                                - before
                                - after
                        required:
                          - limits
                          - basic
                          - cells
                  required:
                    - tables
                    - rows
                  description: >-
                    Prem/Ops increased limit factors at the common limits, V0
                    and this version. Null unless `IncreasedLimitFactor` is in
                    ISO’s layout.
                files:
                  type: array
                  items:
                    type: object
                    properties:
                      path:
                        type: string
                        description: The table, such as "tables/PremOpsLossCost.csv".
                      part:
                        type: string
                        nullable: true
                        description: >-
                          The part of the file counted, such as "Prem/Ops tables
                          1–3". Null for the whole file.
                      unit:
                        type: string
                        enum:
                          - rows
                          - cells
                      total:
                        type: integer
                        minimum: 0
                        description: How many rows or cells the version has, by `unit`.
                      updated:
                        type: integer
                        minimum: 0
                        description: Rows or cells with an ISO value that differ from V0’s.
                      same:
                        type: integer
                        minimum: 0
                        description: Rows or cells with an ISO value equal to V0’s.
                      noIsoValue:
                        type: integer
                        minimum: 0
                        description: >-
                          Rows or cells ISO gives no value for: a-rated or not
                          applicable.
                      carrierKept:
                        type: array
                        items:
                          type: string
                        description: >-
                          The classes whose rows hold the carrier’s own value
                          (`company_loss_cost`), kept.
                    required:
                      - path
                      - part
                      - unit
                      - total
                      - updated
                      - same
                      - noIsoValue
                      - carrierKept
                  description: >-
                    The ISO tables, row by row: what took ISO’s value, and what
                    the carrier kept.
                unchanged:
                  type: array
                  items:
                    type: string
                  description: >-
                    The tables whose bytes are the same in V0 and this version,
                    by path.
                watched:
                  type: array
                  items:
                    type: object
                    properties:
                      item:
                        type: string
                        description: As `iso.watched` names it, such as "class_10012".
                      premOps:
                        anyOf:
                          - type: array
                            items:
                              type: object
                              properties:
                                territory:
                                  type: string
                                value:
                                  type: number
                              required:
                                - territory
                                - value
                          - type: string
                            enum:
                              - a_rated
                          - nullable: true
                        description: >-
                          ISO’s Prem/Ops loss cost in each territory, or
                          `a_rated`. Null when the version has no such class.
                      products:
                        anyOf:
                          - type: number
                          - type: string
                            enum:
                              - a_rated
                          - type: string
                            enum:
                              - included
                          - nullable: true
                        description: >-
                          ISO’s products loss cost, `a_rated`, or `included` (in
                          the Prem/Ops loss cost). Null when the version has no
                          such class.
                    required:
                      - item
                      - premOps
                      - products
                  description: ISO’s values of the classes in `iso.watched`, in its order.
              required:
                - lossCosts
                - limitFactors
                - files
                - unchanged
                - watched
              description: >-
                What ISO changed, V0 to this version. Null unless the version is
                ready, and when either release cannot be read.
            places:
              type: array
              nullable: true
              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.
                  kind:
                    type: string
                    enum:
                      - table
                      - row
                      - step
                      - constant
                      - record
                      - type
                      - input
                      - refusal
                      - spec
                      - sources
                  name:
                    type: string
                    description: As `changes[].where[].name` gives it.
                  file:
                    type: string
                    nullable: true
                    description: >-
                      The file that holds it, such as "rater.rsl", or for a
                      table row its CSV. Null when neither release has it, or
                      when `unread`.
                  changed:
                    type: boolean
                    description: >-
                      Its text differs from V0’s. When the carry-over keeps the
                      change, only its cites, comments or layout differ.
                  lines:
                    type: array
                    items:
                      type: object
                      properties:
                        kind:
                          type: string
                          enum:
                            - context
                            - added
                            - removed
                            - skip
                        'n':
                          type: integer
                          nullable: true
                          minimum: 1
                          description: >-
                            Its line in its file: V0’s for a removed line, this
                            version’s otherwise. Null for `skip`, which stands
                            for lines left out.
                        text:
                          type: string
                          description: Empty for `skip`.
                      required:
                        - kind
                        - 'n'
                        - text
                    description: >-
                      Unchanged: its first eight lines of each span in this
                      version. Changed: V0 against this version, every changed
                      line with one line around each, never cut. A row comes
                      after its CSV’s header, and a `spec` field after the line
                      that opens its block. Empty when neither release has it,
                      or when `unread`.
                  note:
                    type: string
                    nullable: true
                    description: >-
                      What `lines` leaves out, such as "12 more lines". Null
                      when it shows the item whole.
                  unread:
                    type: string
                    nullable: true
                    description: >-
                      Why it could not be read: a release, or the item in it,
                      that the runner’s carry-over would refuse to read, such as
                      "V1’s rater could not be read: …". Null when it was read.
                required:
                  - change
                  - kind
                  - name
                  - file
                  - changed
                  - lines
                  - note
                  - unread
              description: >-
                Each `where` entry of each change, in the changes’ order, V0
                against this version. Null for any version but the current one,
                since `changes` is the current version’s carry-over; null until
                it is ready, and when either release cannot be read.
            citations:
              type: array
              nullable: true
              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.
                  item:
                    type: string
                    description: As the flag’s `item` names it.
                  file:
                    type: string
                    nullable: true
                    description: Null when this version does not have the item.
                  lines:
                    type: array
                    items:
                      type: object
                      properties:
                        kind:
                          type: string
                          enum:
                            - context
                            - added
                            - removed
                            - skip
                        'n':
                          type: integer
                          nullable: true
                          minimum: 1
                          description: >-
                            Its line in its file: V0’s for a removed line, this
                            version’s otherwise. Null for `skip`, which stands
                            for lines left out.
                        text:
                          type: string
                          description: Empty for `skip`.
                      required:
                        - kind
                        - 'n'
                        - text
                    description: >-
                      The item’s lines in this version that hold a `cite:`, at
                      most two; a table row with its CSV’s header.
                  source:
                    type: object
                    properties:
                      before:
                        type: string
                        nullable: true
                        description: >-
                          The comment right above the cited key in V0’s
                          `Sources`, its lines joined without their `#`, such as
                          "GL-2024-BGL1, SERFF ISOF-G134124476: Virginia loss
                          cost pages, effective 2025-02-01." Null when V0 has
                          none.
                      after:
                        type: string
                        nullable: true
                        description: >-
                          The same in this version’s `Sources`, above the key
                          that names the cited document now: the cited key, or
                          the key that replaces it. Null when it has none.
                    required:
                      - before
                      - after
                    description: >-
                      The cited source in V0 and in this version, in the rater’s
                      own words.
                required:
                  - change
                  - item
                  - file
                  - lines
                  - source
              description: >-
                One for each `cites_replaced_source` flag of the changes, in
                their order. Null when `places` is.
            carrier:
              type: string
              nullable: true
              description: >-
                The carrier this version’s rater names in its `spec`, such as
                "FCCI Insurance Group". Null when `places` is, and when it names
                none.
            coverageMoveTolerance:
              type: number
              nullable: true
              description: >-
                How far a coverage of the carrier may move before the
                guideline’s `coverage_moved` rule raises it, a fraction (0.1 is
                10 percent): the `coverage_move_tolerance` the rebuild guideline
                release declares in its own sources. Null for any version but
                the current one, when either rater release cannot be read, and
                when the guideline release cannot be read or declares none.
          required:
            - name
            - parent
            - reason
            - change
            - edited
            - requestedAt
            - requestedBy
            - run
            - status
            - rater
            - cases
            - book
            - exhibits
            - edit
            - tables
            - places
            - citations
            - carrier
            - coverageMoveTolerance
        - 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
                hardestHit:
                  type: array
                  nullable: true
                  items:
                    type: object
                    properties:
                      line:
                        type: integer
                        minimum: 1
                        description: >-
                          The policy’s line in the book, from 1 after the
                          header.
                      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
                        description: 'The segment’s label: company and subline.'
                      limits:
                        type: string
                      items:
                        type: array
                        items:
                          type: object
                          properties:
                            label:
                              type: string
                              description: What kind of item it is, such as “Prem/Ops”.
                            code:
                              type: string
                              nullable: true
                              description: >-
                                Its code, such as the ISO class 10070. Null when
                                it has none.
                            name:
                              type: string
                              nullable: true
                              description: >-
                                The code’s name, such as the class’s name. Null
                                when the rater gives none.
                            detail:
                              type: string
                              description: >-
                                The rest, such as “territory 502 · payroll
                                $625,092”. Empty when there is none.
                          required:
                            - label
                            - code
                            - name
                            - detail
                        description: >-
                          What the policy rates, one entry per item such as a
                          class with its exposure.
                      premiumBefore:
                        type: number
                        description: Premium on V0, in dollars.
                      premiumAfter:
                        type: number
                        description: Premium on the version, in dollars.
                      change:
                        type: number
                        description: premiumAfter / premiumBefore - 1.
                      dollars:
                        type: number
                        description: premiumAfter - premiumBefore.
                      driver:
                        type: string
                        description: >-
                          The main driver in words: the largest of `drivers`,
                          with ISO’s loss cost moves summed and each class
                          named, as in “ISO’s new loss costs (class 10070,
                          territory 502: .080 → .088)”.
                      drivers:
                        type: array
                        items:
                          type: object
                          properties:
                            what:
                              type: string
                            dollars:
                              type: number
                          required:
                            - what
                            - dollars
                        description: >-
                          What moved the premium, largest first: the change
                          split between the steps that moved by their share of
                          the move.
                      groups:
                        type: array
                        items:
                          type: object
                          properties:
                            title:
                              type: string
                            steps:
                              type: array
                              items:
                                type: object
                                properties:
                                  label:
                                    type: string
                                    description: >-
                                      The rater’s own label for the value, such
                                      as “Basic limits rate”.
                                  name:
                                    type: string
                                    description: >-
                                      Where the rater holds the value, such as
                                      `premops[0].rate`.
                                  unit:
                                    type: string
                                    enum:
                                      - money
                                      - loss_cost
                                      - factor
                                      - number
                                      - text
                                    description: >-
                                      How the value prints, as the filings print
                                      it: money in whole dollars; an ISO loss
                                      cost with three places below 1 and no
                                      leading zero (.080); a factor or rate
                                      exactly, with no trailing zeros (1.77);
                                      any other number as given; or words.
                                  before:
                                    type: string
                                    nullable: true
                                    description: >-
                                      The value on V0, exactly as the rater
                                      gives it. Null when V0 has no such value.
                                  after:
                                    type: string
                                    nullable: true
                                    description: >-
                                      The value on the version. Null when the
                                      version has no such value.
                                  moved:
                                    type: boolean
                                    description: >-
                                      Whether the value differs between V0 and
                                      the version.
                                  why:
                                    type: string
                                    description: >-
                                      What the value is: the table it is read
                                      from, or what it is calculated from.
                                  source:
                                    type: string
                                    nullable: true
                                    description: >-
                                      The source the version cites for the
                                      value, with its page, as the rater’s
                                      Sources name it. Null when it cites none.
                                required:
                                  - label
                                  - name
                                  - unit
                                  - before
                                  - after
                                  - moved
                                  - why
                                  - source
                          required:
                            - title
                            - steps
                        description: >-
                          The rating, one group per item and a last group for
                          the policy, each step in the rater’s order.
                    required:
                      - line
                      - segment
                      - label
                      - limits
                      - items
                      - premiumBefore
                      - premiumAfter
                      - change
                      - dollars
                      - driver
                      - drivers
                      - groups
                  maxItems: 10
                  description: >-
                    The ten policies whose premium rises most, largest first,
                    ties in book order. Null when the log holds none: a
                    guideline release that does not declare them, or a version
                    rated before they were kept.
              required:
                - policies
                - policiesFailed
                - policiesChanged
                - premium
                - premiumChange
                - lossCostChange
                - multiplierChange
                - lowestChange
                - highestChange
                - segments
                - bands
                - coverages
                - hardestHit
            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
            edit:
              type: object
              nullable: true
              properties:
                files:
                  type: array
                  items:
                    oneOf:
                      - type: object
                        properties:
                          path:
                            type: string
                          kind:
                            type: string
                            enum:
                              - code
                          linesAdded:
                            type: integer
                            minimum: 0
                          linesRemoved:
                            type: integer
                            minimum: 0
                          hunks:
                            type: array
                            items:
                              type: object
                              properties:
                                at:
                                  type: string
                                  description: >-
                                    The hunk header, such as "@@ -14,10 +14,15
                                    @@".
                                lines:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      kind:
                                        type: string
                                        enum:
                                          - added
                                          - removed
                                          - context
                                      text:
                                        type: string
                                    required:
                                      - kind
                                      - text
                              required:
                                - at
                                - lines
                        required:
                          - path
                          - kind
                          - linesAdded
                          - linesRemoved
                          - hunks
                      - type: object
                        properties:
                          path:
                            type: string
                          kind:
                            type: string
                            enum:
                              - table
                          rowsChanged:
                            type: integer
                            minimum: 0
                          rowsTotal:
                            type: integer
                            minimum: 0
                          header:
                            type: string
                          samples:
                            type: array
                            items:
                              type: object
                              properties:
                                old:
                                  type: string
                                new:
                                  type: string
                              required:
                                - old
                                - new
                            maxItems: 3
                        required:
                          - path
                          - kind
                          - rowsChanged
                          - rowsTotal
                          - header
                          - samples
              required:
                - files
              description: The edit against the parent. Null while the version builds.
            tables:
              type: object
              nullable: true
              properties:
                lossCosts:
                  type: object
                  nullable: true
                  properties:
                    rows:
                      type: array
                      items:
                        type: object
                        properties:
                          subline:
                            type: string
                            enum:
                              - premops
                              - products
                          territory:
                            type: string
                            nullable: true
                            description: >-
                              The territory, such as "501". Null for products,
                              which have one loss cost.
                          classes:
                            type: integer
                            minimum: 0
                            description: >-
                              The classes with an ISO loss cost in both
                              releases, `filed_as` `loss_cost` in V0 and this
                              version and V0’s loss cost not zero.
                          up:
                            type: integer
                            minimum: 0
                          down:
                            type: integer
                            minimum: 0
                          same:
                            type: integer
                            minimum: 0
                          median:
                            type: number
                            nullable: true
                            description: The median move. Null when `classes` is 0.
                          lowest:
                            type: number
                            nullable: true
                            description: The lowest move. Null when `classes` is 0.
                          highest:
                            type: number
                            nullable: true
                            description: The highest move. Null when `classes` is 0.
                        required:
                          - subline
                          - territory
                          - classes
                          - up
                          - down
                          - same
                          - median
                          - lowest
                          - highest
                      description: Prem/Ops by territory, then products.
                    referred:
                      type: object
                      properties:
                        premops:
                          type: integer
                          minimum: 0
                        products:
                          type: integer
                          minimum: 0
                      required:
                        - premops
                        - products
                      description: Classes ISO a-rates (refers to the company), by subline.
                    productsIncluded:
                      type: integer
                      minimum: 0
                      description: >-
                        Classes whose products exposure is in the Prem/Ops loss
                        cost (`not_applicable`).
                  required:
                    - rows
                    - referred
                    - productsIncluded
                  description: Null unless both loss cost tables are in ISO’s layout.
                limitFactors:
                  type: object
                  nullable: true
                  properties:
                    tables:
                      type: array
                      items:
                        type: object
                        properties:
                          id:
                            type: string
                          label:
                            type: string
                        required:
                          - id
                          - label
                      description: >-
                        The Prem/Ops limit tables, such as `table_1`, in the
                        order of `cells`.
                    rows:
                      type: array
                      items:
                        type: object
                        properties:
                          limits:
                            type: string
                            description: >-
                              Occurrence/aggregate in thousands, such as
                              "100/200".
                          basic:
                            type: boolean
                            description: 'The basic limit: every factor is 1.'
                          cells:
                            type: array
                            items:
                              type: object
                              properties:
                                before:
                                  type: number
                                  nullable: true
                                  description: V0’s factor. Null when V0 has none.
                                after:
                                  type: number
                                  nullable: true
                                  description: This version’s. Null when it has none.
                              required:
                                - before
                                - after
                        required:
                          - limits
                          - basic
                          - cells
                  required:
                    - tables
                    - rows
                  description: >-
                    Prem/Ops increased limit factors at the common limits, V0
                    and this version. Null unless `IncreasedLimitFactor` is in
                    ISO’s layout.
                files:
                  type: array
                  items:
                    type: object
                    properties:
                      path:
                        type: string
                        description: The table, such as "tables/PremOpsLossCost.csv".
                      part:
                        type: string
                        nullable: true
                        description: >-
                          The part of the file counted, such as "Prem/Ops tables
                          1–3". Null for the whole file.
                      unit:
                        type: string
                        enum:
                          - rows
                          - cells
                      total:
                        type: integer
                        minimum: 0
                        description: How many rows or cells the version has, by `unit`.
                      updated:
                        type: integer
                        minimum: 0
                        description: Rows or cells with an ISO value that differ from V0’s.
                      same:
                        type: integer
                        minimum: 0
                        description: Rows or cells with an ISO value equal to V0’s.
                      noIsoValue:
                        type: integer
                        minimum: 0
                        description: >-
                          Rows or cells ISO gives no value for: a-rated or not
                          applicable.
                      carrierKept:
                        type: array
                        items:
                          type: string
                        description: >-
                          The classes whose rows hold the carrier’s own value
                          (`company_loss_cost`), kept.
                    required:
                      - path
                      - part
                      - unit
                      - total
                      - updated
                      - same
                      - noIsoValue
                      - carrierKept
                  description: >-
                    The ISO tables, row by row: what took ISO’s value, and what
                    the carrier kept.
                unchanged:
                  type: array
                  items:
                    type: string
                  description: >-
                    The tables whose bytes are the same in V0 and this version,
                    by path.
                watched:
                  type: array
                  items:
                    type: object
                    properties:
                      item:
                        type: string
                        description: As `iso.watched` names it, such as "class_10012".
                      premOps:
                        anyOf:
                          - type: array
                            items:
                              type: object
                              properties:
                                territory:
                                  type: string
                                value:
                                  type: number
                              required:
                                - territory
                                - value
                          - type: string
                            enum:
                              - a_rated
                          - nullable: true
                        description: >-
                          ISO’s Prem/Ops loss cost in each territory, or
                          `a_rated`. Null when the version has no such class.
                      products:
                        anyOf:
                          - type: number
                          - type: string
                            enum:
                              - a_rated
                          - type: string
                            enum:
                              - included
                          - nullable: true
                        description: >-
                          ISO’s products loss cost, `a_rated`, or `included` (in
                          the Prem/Ops loss cost). Null when the version has no
                          such class.
                    required:
                      - item
                      - premOps
                      - products
                  description: ISO’s values of the classes in `iso.watched`, in its order.
              required:
                - lossCosts
                - limitFactors
                - files
                - unchanged
                - watched
              description: >-
                What ISO changed, V0 to this version. Null unless the version is
                ready, and when either release cannot be read.
            places:
              type: array
              nullable: true
              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.
                  kind:
                    type: string
                    enum:
                      - table
                      - row
                      - step
                      - constant
                      - record
                      - type
                      - input
                      - refusal
                      - spec
                      - sources
                  name:
                    type: string
                    description: As `changes[].where[].name` gives it.
                  file:
                    type: string
                    nullable: true
                    description: >-
                      The file that holds it, such as "rater.rsl", or for a
                      table row its CSV. Null when neither release has it, or
                      when `unread`.
                  changed:
                    type: boolean
                    description: >-
                      Its text differs from V0’s. When the carry-over keeps the
                      change, only its cites, comments or layout differ.
                  lines:
                    type: array
                    items:
                      type: object
                      properties:
                        kind:
                          type: string
                          enum:
                            - context
                            - added
                            - removed
                            - skip
                        'n':
                          type: integer
                          nullable: true
                          minimum: 1
                          description: >-
                            Its line in its file: V0’s for a removed line, this
                            version’s otherwise. Null for `skip`, which stands
                            for lines left out.
                        text:
                          type: string
                          description: Empty for `skip`.
                      required:
                        - kind
                        - 'n'
                        - text
                    description: >-
                      Unchanged: its first eight lines of each span in this
                      version. Changed: V0 against this version, every changed
                      line with one line around each, never cut. A row comes
                      after its CSV’s header, and a `spec` field after the line
                      that opens its block. Empty when neither release has it,
                      or when `unread`.
                  note:
                    type: string
                    nullable: true
                    description: >-
                      What `lines` leaves out, such as "12 more lines". Null
                      when it shows the item whole.
                  unread:
                    type: string
                    nullable: true
                    description: >-
                      Why it could not be read: a release, or the item in it,
                      that the runner’s carry-over would refuse to read, such as
                      "V1’s rater could not be read: …". Null when it was read.
                required:
                  - change
                  - kind
                  - name
                  - file
                  - changed
                  - lines
                  - note
                  - unread
              description: >-
                Each `where` entry of each change, in the changes’ order, V0
                against this version. Null for any version but the current one,
                since `changes` is the current version’s carry-over; null until
                it is ready, and when either release cannot be read.
            citations:
              type: array
              nullable: true
              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.
                  item:
                    type: string
                    description: As the flag’s `item` names it.
                  file:
                    type: string
                    nullable: true
                    description: Null when this version does not have the item.
                  lines:
                    type: array
                    items:
                      type: object
                      properties:
                        kind:
                          type: string
                          enum:
                            - context
                            - added
                            - removed
                            - skip
                        'n':
                          type: integer
                          nullable: true
                          minimum: 1
                          description: >-
                            Its line in its file: V0’s for a removed line, this
                            version’s otherwise. Null for `skip`, which stands
                            for lines left out.
                        text:
                          type: string
                          description: Empty for `skip`.
                      required:
                        - kind
                        - 'n'
                        - text
                    description: >-
                      The item’s lines in this version that hold a `cite:`, at
                      most two; a table row with its CSV’s header.
                  source:
                    type: object
                    properties:
                      before:
                        type: string
                        nullable: true
                        description: >-
                          The comment right above the cited key in V0’s
                          `Sources`, its lines joined without their `#`, such as
                          "GL-2024-BGL1, SERFF ISOF-G134124476: Virginia loss
                          cost pages, effective 2025-02-01." Null when V0 has
                          none.
                      after:
                        type: string
                        nullable: true
                        description: >-
                          The same in this version’s `Sources`, above the key
                          that names the cited document now: the cited key, or
                          the key that replaces it. Null when it has none.
                    required:
                      - before
                      - after
                    description: >-
                      The cited source in V0 and in this version, in the rater’s
                      own words.
                required:
                  - change
                  - item
                  - file
                  - lines
                  - source
              description: >-
                One for each `cites_replaced_source` flag of the changes, in
                their order. Null when `places` is.
            carrier:
              type: string
              nullable: true
              description: >-
                The carrier this version’s rater names in its `spec`, such as
                "FCCI Insurance Group". Null when `places` is, and when it names
                none.
            coverageMoveTolerance:
              type: number
              nullable: true
              description: >-
                How far a coverage of the carrier may move before the
                guideline’s `coverage_moved` rule raises it, a fraction (0.1 is
                10 percent): the `coverage_move_tolerance` the rebuild guideline
                release declares in its own sources. Null for any version but
                the current one, when either rater release cannot be read, and
                when the guideline release cannot be read or declares none.
          required:
            - name
            - parent
            - reason
            - change
            - edited
            - requestedAt
            - requestedBy
            - run
            - status
            - rater
            - cases
            - book
            - exhibits
            - edit
            - tables
            - places
            - citations
            - carrier
            - coverageMoveTolerance
        - 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
                hardestHit:
                  type: array
                  nullable: true
                  items:
                    type: object
                    properties:
                      line:
                        type: integer
                        minimum: 1
                        description: >-
                          The policy’s line in the book, from 1 after the
                          header.
                      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
                        description: 'The segment’s label: company and subline.'
                      limits:
                        type: string
                      items:
                        type: array
                        items:
                          type: object
                          properties:
                            label:
                              type: string
                              description: What kind of item it is, such as “Prem/Ops”.
                            code:
                              type: string
                              nullable: true
                              description: >-
                                Its code, such as the ISO class 10070. Null when
                                it has none.
                            name:
                              type: string
                              nullable: true
                              description: >-
                                The code’s name, such as the class’s name. Null
                                when the rater gives none.
                            detail:
                              type: string
                              description: >-
                                The rest, such as “territory 502 · payroll
                                $625,092”. Empty when there is none.
                          required:
                            - label
                            - code
                            - name
                            - detail
                        description: >-
                          What the policy rates, one entry per item such as a
                          class with its exposure.
                      premiumBefore:
                        type: number
                        description: Premium on V0, in dollars.
                      premiumAfter:
                        type: number
                        description: Premium on the version, in dollars.
                      change:
                        type: number
                        description: premiumAfter / premiumBefore - 1.
                      dollars:
                        type: number
                        description: premiumAfter - premiumBefore.
                      driver:
                        type: string
                        description: >-
                          The main driver in words: the largest of `drivers`,
                          with ISO’s loss cost moves summed and each class
                          named, as in “ISO’s new loss costs (class 10070,
                          territory 502: .080 → .088)”.
                      drivers:
                        type: array
                        items:
                          type: object
                          properties:
                            what:
                              type: string
                            dollars:
                              type: number
                          required:
                            - what
                            - dollars
                        description: >-
                          What moved the premium, largest first: the change
                          split between the steps that moved by their share of
                          the move.
                      groups:
                        type: array
                        items:
                          type: object
                          properties:
                            title:
                              type: string
                            steps:
                              type: array
                              items:
                                type: object
                                properties:
                                  label:
                                    type: string
                                    description: >-
                                      The rater’s own label for the value, such
                                      as “Basic limits rate”.
                                  name:
                                    type: string
                                    description: >-
                                      Where the rater holds the value, such as
                                      `premops[0].rate`.
                                  unit:
                                    type: string
                                    enum:
                                      - money
                                      - loss_cost
                                      - factor
                                      - number
                                      - text
                                    description: >-
                                      How the value prints, as the filings print
                                      it: money in whole dollars; an ISO loss
                                      cost with three places below 1 and no
                                      leading zero (.080); a factor or rate
                                      exactly, with no trailing zeros (1.77);
                                      any other number as given; or words.
                                  before:
                                    type: string
                                    nullable: true
                                    description: >-
                                      The value on V0, exactly as the rater
                                      gives it. Null when V0 has no such value.
                                  after:
                                    type: string
                                    nullable: true
                                    description: >-
                                      The value on the version. Null when the
                                      version has no such value.
                                  moved:
                                    type: boolean
                                    description: >-
                                      Whether the value differs between V0 and
                                      the version.
                                  why:
                                    type: string
                                    description: >-
                                      What the value is: the table it is read
                                      from, or what it is calculated from.
                                  source:
                                    type: string
                                    nullable: true
                                    description: >-
                                      The source the version cites for the
                                      value, with its page, as the rater’s
                                      Sources name it. Null when it cites none.
                                required:
                                  - label
                                  - name
                                  - unit
                                  - before
                                  - after
                                  - moved
                                  - why
                                  - source
                          required:
                            - title
                            - steps
                        description: >-
                          The rating, one group per item and a last group for
                          the policy, each step in the rater’s order.
                    required:
                      - line
                      - segment
                      - label
                      - limits
                      - items
                      - premiumBefore
                      - premiumAfter
                      - change
                      - dollars
                      - driver
                      - drivers
                      - groups
                  maxItems: 10
                  description: >-
                    The ten policies whose premium rises most, largest first,
                    ties in book order. Null when the log holds none: a
                    guideline release that does not declare them, or a version
                    rated before they were kept.
              required:
                - policies
                - policiesFailed
                - policiesChanged
                - premium
                - premiumChange
                - lossCostChange
                - multiplierChange
                - lowestChange
                - highestChange
                - segments
                - bands
                - coverages
                - hardestHit
              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
            edit:
              type: object
              nullable: true
              properties:
                files:
                  type: array
                  items:
                    oneOf:
                      - type: object
                        properties:
                          path:
                            type: string
                          kind:
                            type: string
                            enum:
                              - code
                          linesAdded:
                            type: integer
                            minimum: 0
                          linesRemoved:
                            type: integer
                            minimum: 0
                          hunks:
                            type: array
                            items:
                              type: object
                              properties:
                                at:
                                  type: string
                                  description: >-
                                    The hunk header, such as "@@ -14,10 +14,15
                                    @@".
                                lines:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      kind:
                                        type: string
                                        enum:
                                          - added
                                          - removed
                                          - context
                                      text:
                                        type: string
                                    required:
                                      - kind
                                      - text
                              required:
                                - at
                                - lines
                        required:
                          - path
                          - kind
                          - linesAdded
                          - linesRemoved
                          - hunks
                      - type: object
                        properties:
                          path:
                            type: string
                          kind:
                            type: string
                            enum:
                              - table
                          rowsChanged:
                            type: integer
                            minimum: 0
                          rowsTotal:
                            type: integer
                            minimum: 0
                          header:
                            type: string
                          samples:
                            type: array
                            items:
                              type: object
                              properties:
                                old:
                                  type: string
                                new:
                                  type: string
                              required:
                                - old
                                - new
                            maxItems: 3
                        required:
                          - path
                          - kind
                          - rowsChanged
                          - rowsTotal
                          - header
                          - samples
              required:
                - files
              description: The edit against the parent. Null while the version builds.
            tables:
              type: object
              nullable: true
              properties:
                lossCosts:
                  type: object
                  nullable: true
                  properties:
                    rows:
                      type: array
                      items:
                        type: object
                        properties:
                          subline:
                            type: string
                            enum:
                              - premops
                              - products
                          territory:
                            type: string
                            nullable: true
                            description: >-
                              The territory, such as "501". Null for products,
                              which have one loss cost.
                          classes:
                            type: integer
                            minimum: 0
                            description: >-
                              The classes with an ISO loss cost in both
                              releases, `filed_as` `loss_cost` in V0 and this
                              version and V0’s loss cost not zero.
                          up:
                            type: integer
                            minimum: 0
                          down:
                            type: integer
                            minimum: 0
                          same:
                            type: integer
                            minimum: 0
                          median:
                            type: number
                            nullable: true
                            description: The median move. Null when `classes` is 0.
                          lowest:
                            type: number
                            nullable: true
                            description: The lowest move. Null when `classes` is 0.
                          highest:
                            type: number
                            nullable: true
                            description: The highest move. Null when `classes` is 0.
                        required:
                          - subline
                          - territory
                          - classes
                          - up
                          - down
                          - same
                          - median
                          - lowest
                          - highest
                      description: Prem/Ops by territory, then products.
                    referred:
                      type: object
                      properties:
                        premops:
                          type: integer
                          minimum: 0
                        products:
                          type: integer
                          minimum: 0
                      required:
                        - premops
                        - products
                      description: Classes ISO a-rates (refers to the company), by subline.
                    productsIncluded:
                      type: integer
                      minimum: 0
                      description: >-
                        Classes whose products exposure is in the Prem/Ops loss
                        cost (`not_applicable`).
                  required:
                    - rows
                    - referred
                    - productsIncluded
                  description: Null unless both loss cost tables are in ISO’s layout.
                limitFactors:
                  type: object
                  nullable: true
                  properties:
                    tables:
                      type: array
                      items:
                        type: object
                        properties:
                          id:
                            type: string
                          label:
                            type: string
                        required:
                          - id
                          - label
                      description: >-
                        The Prem/Ops limit tables, such as `table_1`, in the
                        order of `cells`.
                    rows:
                      type: array
                      items:
                        type: object
                        properties:
                          limits:
                            type: string
                            description: >-
                              Occurrence/aggregate in thousands, such as
                              "100/200".
                          basic:
                            type: boolean
                            description: 'The basic limit: every factor is 1.'
                          cells:
                            type: array
                            items:
                              type: object
                              properties:
                                before:
                                  type: number
                                  nullable: true
                                  description: V0’s factor. Null when V0 has none.
                                after:
                                  type: number
                                  nullable: true
                                  description: This version’s. Null when it has none.
                              required:
                                - before
                                - after
                        required:
                          - limits
                          - basic
                          - cells
                  required:
                    - tables
                    - rows
                  description: >-
                    Prem/Ops increased limit factors at the common limits, V0
                    and this version. Null unless `IncreasedLimitFactor` is in
                    ISO’s layout.
                files:
                  type: array
                  items:
                    type: object
                    properties:
                      path:
                        type: string
                        description: The table, such as "tables/PremOpsLossCost.csv".
                      part:
                        type: string
                        nullable: true
                        description: >-
                          The part of the file counted, such as "Prem/Ops tables
                          1–3". Null for the whole file.
                      unit:
                        type: string
                        enum:
                          - rows
                          - cells
                      total:
                        type: integer
                        minimum: 0
                        description: How many rows or cells the version has, by `unit`.
                      updated:
                        type: integer
                        minimum: 0
                        description: Rows or cells with an ISO value that differ from V0’s.
                      same:
                        type: integer
                        minimum: 0
                        description: Rows or cells with an ISO value equal to V0’s.
                      noIsoValue:
                        type: integer
                        minimum: 0
                        description: >-
                          Rows or cells ISO gives no value for: a-rated or not
                          applicable.
                      carrierKept:
                        type: array
                        items:
                          type: string
                        description: >-
                          The classes whose rows hold the carrier’s own value
                          (`company_loss_cost`), kept.
                    required:
                      - path
                      - part
                      - unit
                      - total
                      - updated
                      - same
                      - noIsoValue
                      - carrierKept
                  description: >-
                    The ISO tables, row by row: what took ISO’s value, and what
                    the carrier kept.
                unchanged:
                  type: array
                  items:
                    type: string
                  description: >-
                    The tables whose bytes are the same in V0 and this version,
                    by path.
                watched:
                  type: array
                  items:
                    type: object
                    properties:
                      item:
                        type: string
                        description: As `iso.watched` names it, such as "class_10012".
                      premOps:
                        anyOf:
                          - type: array
                            items:
                              type: object
                              properties:
                                territory:
                                  type: string
                                value:
                                  type: number
                              required:
                                - territory
                                - value
                          - type: string
                            enum:
                              - a_rated
                          - nullable: true
                        description: >-
                          ISO’s Prem/Ops loss cost in each territory, or
                          `a_rated`. Null when the version has no such class.
                      products:
                        anyOf:
                          - type: number
                          - type: string
                            enum:
                              - a_rated
                          - type: string
                            enum:
                              - included
                          - nullable: true
                        description: >-
                          ISO’s products loss cost, `a_rated`, or `included` (in
                          the Prem/Ops loss cost). Null when the version has no
                          such class.
                    required:
                      - item
                      - premOps
                      - products
                  description: ISO’s values of the classes in `iso.watched`, in its order.
              required:
                - lossCosts
                - limitFactors
                - files
                - unchanged
                - watched
              description: >-
                What ISO changed, V0 to this version. Null unless the version is
                ready, and when either release cannot be read.
            places:
              type: array
              nullable: true
              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.
                  kind:
                    type: string
                    enum:
                      - table
                      - row
                      - step
                      - constant
                      - record
                      - type
                      - input
                      - refusal
                      - spec
                      - sources
                  name:
                    type: string
                    description: As `changes[].where[].name` gives it.
                  file:
                    type: string
                    nullable: true
                    description: >-
                      The file that holds it, such as "rater.rsl", or for a
                      table row its CSV. Null when neither release has it, or
                      when `unread`.
                  changed:
                    type: boolean
                    description: >-
                      Its text differs from V0’s. When the carry-over keeps the
                      change, only its cites, comments or layout differ.
                  lines:
                    type: array
                    items:
                      type: object
                      properties:
                        kind:
                          type: string
                          enum:
                            - context
                            - added
                            - removed
                            - skip
                        'n':
                          type: integer
                          nullable: true
                          minimum: 1
                          description: >-
                            Its line in its file: V0’s for a removed line, this
                            version’s otherwise. Null for `skip`, which stands
                            for lines left out.
                        text:
                          type: string
                          description: Empty for `skip`.
                      required:
                        - kind
                        - 'n'
                        - text
                    description: >-
                      Unchanged: its first eight lines of each span in this
                      version. Changed: V0 against this version, every changed
                      line with one line around each, never cut. A row comes
                      after its CSV’s header, and a `spec` field after the line
                      that opens its block. Empty when neither release has it,
                      or when `unread`.
                  note:
                    type: string
                    nullable: true
                    description: >-
                      What `lines` leaves out, such as "12 more lines". Null
                      when it shows the item whole.
                  unread:
                    type: string
                    nullable: true
                    description: >-
                      Why it could not be read: a release, or the item in it,
                      that the runner’s carry-over would refuse to read, such as
                      "V1’s rater could not be read: …". Null when it was read.
                required:
                  - change
                  - kind
                  - name
                  - file
                  - changed
                  - lines
                  - note
                  - unread
              description: >-
                Each `where` entry of each change, in the changes’ order, V0
                against this version. Null for any version but the current one,
                since `changes` is the current version’s carry-over; null until
                it is ready, and when either release cannot be read.
            citations:
              type: array
              nullable: true
              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.
                  item:
                    type: string
                    description: As the flag’s `item` names it.
                  file:
                    type: string
                    nullable: true
                    description: Null when this version does not have the item.
                  lines:
                    type: array
                    items:
                      type: object
                      properties:
                        kind:
                          type: string
                          enum:
                            - context
                            - added
                            - removed
                            - skip
                        'n':
                          type: integer
                          nullable: true
                          minimum: 1
                          description: >-
                            Its line in its file: V0’s for a removed line, this
                            version’s otherwise. Null for `skip`, which stands
                            for lines left out.
                        text:
                          type: string
                          description: Empty for `skip`.
                      required:
                        - kind
                        - 'n'
                        - text
                    description: >-
                      The item’s lines in this version that hold a `cite:`, at
                      most two; a table row with its CSV’s header.
                  source:
                    type: object
                    properties:
                      before:
                        type: string
                        nullable: true
                        description: >-
                          The comment right above the cited key in V0’s
                          `Sources`, its lines joined without their `#`, such as
                          "GL-2024-BGL1, SERFF ISOF-G134124476: Virginia loss
                          cost pages, effective 2025-02-01." Null when V0 has
                          none.
                      after:
                        type: string
                        nullable: true
                        description: >-
                          The same in this version’s `Sources`, above the key
                          that names the cited document now: the cited key, or
                          the key that replaces it. Null when it has none.
                    required:
                      - before
                      - after
                    description: >-
                      The cited source in V0 and in this version, in the rater’s
                      own words.
                required:
                  - change
                  - item
                  - file
                  - lines
                  - source
              description: >-
                One for each `cites_replaced_source` flag of the changes, in
                their order. Null when `places` is.
            carrier:
              type: string
              nullable: true
              description: >-
                The carrier this version’s rater names in its `spec`, such as
                "FCCI Insurance Group". Null when `places` is, and when it names
                none.
            coverageMoveTolerance:
              type: number
              nullable: true
              description: >-
                How far a coverage of the carrier may move before the
                guideline’s `coverage_moved` rule raises it, a fraction (0.1 is
                10 percent): the `coverage_move_tolerance` the rebuild guideline
                release declares in its own sources. Null for any version but
                the current one, when either rater release cannot be read, and
                when the guideline release cannot be read or declares none.
          required:
            - name
            - parent
            - reason
            - change
            - edited
            - requestedAt
            - requestedBy
            - run
            - status
            - rater
            - cases
            - book
            - exhibits
            - failure
            - edit
            - tables
            - places
            - citations
            - carrier
            - coverageMoveTolerance
    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.