{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/university-of-waterloo/json-schema/university-of-waterloo-site-schema.json",
  "title": "Site",
  "description": "Model representing a Site on the Waterloo CMS",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/university-of-waterloo-wcms-api-openapi.yml#/components/schemas/Site",
  "type": "object",
  "properties": {
    "siteId": {
      "type": "integer",
      "description": "Unique, numeric site ID",
      "format": "int32"
    },
    "relativeUri": {
      "type": [
        "string",
        "null"
      ],
      "description": "Relative URI of the site from the root uWaterloo CMS domain"
    },
    "name": {
      "type": [
        "string",
        "null"
      ],
      "description": "Display name of the Site"
    },
    "completeUri": {
      "type": [
        "string",
        "null"
      ],
      "description": "Complete URI of the site, including root domain"
    },
    "ownerUnitCode": {
      "type": [
        "string",
        "null"
      ],
      "description": "If available, the department owner code for this Site. Can loosely map to Academic Groups."
    },
    "ownerUnitNameShort": {
      "type": [
        "string",
        "null"
      ],
      "description": "Short name of the department owner for this Site. See OwnerUnitCode for more."
    },
    "ownerUnitNameFull": {
      "type": [
        "string",
        "null"
      ],
      "description": "Full name of the department owner for this Site. See OwnerUnitCode for more."
    },
    "ownerGroupCode": {
      "type": [
        "string",
        "null"
      ],
      "description": "If available, the faculty owner code for this Site. Can loosely map to Academic Organization."
    },
    "ownerType": {
      "type": [
        "string",
        "null"
      ],
      "description": "The tag describing the association of the owner department, such as academic, research, and more."
    }
  },
  "additionalProperties": false
}