{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/csiro/main/json-schema/csiro-orcid-results-dto-schema.json",
  "title": "OrcidResultsDto",
  "x-generated": "2026-10-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/csiro-dap-orcid-v1-openapi.yml#/components/schemas/OrcidResultsDto",
  "type": "object",
  "properties": {
    "timestamp": {
      "type": "string"
    },
    "users": {
      "type": "object",
      "additionalProperties": {
        "type": "array",
        "items": {
          "$ref": "#/$defs/OrcidCollectionDto"
        }
      }
    }
  },
  "$defs": {
    "ContributorDto": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "orcidId": {
          "type": "string"
        }
      }
    },
    "OrcidCollectionDto": {
      "type": "object",
      "properties": {
        "description": {
          "type": "string"
        },
        "collectionType": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "attributionStatement": {
          "type": "string"
        },
        "published": {
          "type": "string"
        },
        "identifier": {
          "$ref": "#/$defs/OrcidIdentifierDto"
        },
        "contributors": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ContributorDto"
          }
        },
        "workId": {
          "type": "string"
        },
        "language": {
          "type": "string"
        }
      }
    },
    "OrcidIdentifierDto": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    }
  }
}