{
  "$schema" : "https://json-schema.org/draft/2019-09/schema#",
  "$id" : "https://purl.imsglobal.org/spec/orgradebook/v1p2/schema/json/orgradebook_v1p2_guidpairset-jsonschema1.json",
  "title" : "JSON Schema for the GUIDPairSet class.",
  "description" : "The container for the set of sourcedId pairs. This is used to provide the mapping between a set of original/new values allocated to a set of sourcedIds.",
  "type" : "object",
  "properties" : {
    "sourcedIdPairs" : {
      "type" : "array",
      "items" : {
        "$ref" : "#/$defs/GUIDPair"
      }
    }
  },
  "required" : [ ],
  "additionalProperties" : false,
  "$defs" : {
    "GUIDPair" : {
      "description" : "The container for the mapping between the supplied (assigned by the requesting system) and allocated (assigned by the responding system) sourcedIds i.e. GUIDs.",
      "type" : "object",
      "properties" : {
        "suppliedSourcedId" : {
          "description" : "The temporary sourcedId that has been allocated by the requesting system. This sourcedId is used to enable identification of the original record for which the new sourcedId has been allocated at the service provider.",
          "$comment" : "Origin: GUID (DerivedType); The data-type for establishing a Globally Unique Identifier (GUID). There is no predefined structure for the GUID.",
          "type" : "string"
        },
        "allocatedSourcedId" : {
          "description" : "The sourcedId that has been allocated by the system on which the new record has been created.",
          "$comment" : "Origin: GUID (DerivedType); The data-type for establishing a Globally Unique Identifier (GUID). There is no predefined structure for the GUID.",
          "type" : "string"
        }
      },
      "required" : [ "suppliedSourcedId", "allocatedSourcedId" ],
      "additionalProperties" : false
    }
  }
}