Choose what this site may use

This site uses strictly necessary cookies to work and to remember your privacy choices. With your permission it would also load content hosted by other services, such as videos, maps and fonts, which then receive your network address and device data. We do not sell or share your personal information and we run no advertising. Choose Accept all, Reject all or Customise. You can change your mind at any time through Privacy choices at the foot of every page.

  • Always on

    Needed for the site to work and to remember your privacy choices. Always on.

  • Remembers settings you choose, such as the light or dark display, in your browser.

  • Loads videos, maps and other content hosted by other services. Those services receive your address and device data.

Menu Close
In this section: Specification
Specification
Functions
Schemas
Registers

ReconciliationAssignment

Source schemas/json/reconciliation-assignment.schema.json

On this page
  1. Properties
  2. Positive fixtures
  3. Negative fixtures
  4. Schema
FieldValue
Identifierurn:obsp:schema:v3.1:reconciliationassignment
Dialecthttps://json-schema.org/draft/2020-12/schema
Used by functionsOrchestrate

Properties

PropertyRequiredTypeDescription
schemaVersionyesreference
claimyesstringMarks assignment as reference/test scope only; not fleet authority.
assignmentIdyesstring
operationIdyesstring
nodeUniyesreference
deploymentUniyesreference
planDigestyesreference
adapterIdyesstring
desiredVersionyesstring
configDigestyesreference
sandboxRelativePathyesstring
resourceIdyesreference
extensionsnoobject

Positive fixtures

  • reconciliation-assignment.valid.json

Negative fixtures

  • reconciliation-assignment.bad-claim.json: const at /claim: 'REFERENCE_TEST_ONLY' was expected

Schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "urn:obsp:schema:v3.1:reconciliationassignment",
  "title": "ReconciliationAssignment",
  "type": "object",
  "required": [
    "schemaVersion",
    "claim",
    "assignmentId",
    "operationId",
    "nodeUni",
    "deploymentUni",
    "planDigest",
    "adapterId",
    "desiredVersion",
    "configDigest",
    "sandboxRelativePath",
    "resourceId"
  ],
  "properties": {
    "schemaVersion": {
      "$ref": "#/$defs/SchemaVersion"
    },
    "claim": {
      "type": "string",
      "const": "REFERENCE_TEST_ONLY",
      "description": "Marks assignment as reference/test scope only; not fleet authority."
    },
    "assignmentId": {
      "type": "string",
      "minLength": 1
    },
    "operationId": {
      "type": "string",
      "minLength": 1
    },
    "nodeUni": {
      "$ref": "#/$defs/Uni"
    },
    "deploymentUni": {
      "$ref": "#/$defs/Uni"
    },
    "planDigest": {
      "$ref": "#/$defs/Digest"
    },
    "adapterId": {
      "type": "string",
      "minLength": 1
    },
    "desiredVersion": {
      "type": "string",
      "enum": [
        "v1",
        "v2"
      ]
    },
    "configDigest": {
      "$ref": "#/$defs/Digest"
    },
    "sandboxRelativePath": {
      "type": "string",
      "minLength": 1,
      "pattern": "^[^.][^/]*(/[^./][^/]*)*$"
    },
    "resourceId": {
      "$ref": "#/$defs/Uni"
    },
    "extensions": {
      "type": "object",
      "propertyNames": {
        "pattern": "^[a-z][a-z0-9]*(\\.[a-z][a-z0-9]*)+$"
      },
      "additionalProperties": true
    }
  },
  "$defs": {
    "Uni": {
      "type": "string",
      "minLength": 8,
      "maxLength": 256,
      "pattern": "^[A-Za-z0-9][A-Za-z0-9:._/@-]{7,255}$"
    },
    "Digest": {
      "type": "string",
      "pattern": "^[a-z0-9]+:[A-Fa-f0-9]{32,128}$"
    },
    "SchemaVersion": {
      "type": "string",
      "const": "3.1.0"
    }
  },
  "additionalProperties": false
}