{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-security-response-center-msrc/json-schema/microsoft-security-response-center-msrc-odata-service-document-schema.json",
  "title": "ODataServiceDocument",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-security-response-center-msrc-cvrf-openapi.yml#/components/schemas/ODataServiceDocument",
  "type": "object",
  "properties": {
    "typeAnnotation": {
      "$ref": "#/$defs/ODataTypeAnnotation"
    },
    "entitySets": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/ODataEntitySetInfo"
      }
    },
    "singletons": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/ODataSingletonInfo"
      }
    },
    "functionImports": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/ODataFunctionImportInfo"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "ODataEntitySetInfo": {
      "type": "object",
      "properties": {
        "typeAnnotation": {
          "$ref": "#/$defs/ODataTypeAnnotation"
        },
        "url": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "title": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "ODataFunctionImportInfo": {
      "type": "object",
      "properties": {
        "typeAnnotation": {
          "$ref": "#/$defs/ODataTypeAnnotation"
        },
        "url": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "title": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "ODataSingletonInfo": {
      "type": "object",
      "properties": {
        "typeAnnotation": {
          "$ref": "#/$defs/ODataTypeAnnotation"
        },
        "url": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "title": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "ODataTypeAnnotation": {
      "type": "object",
      "properties": {
        "typeName": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        }
      },
      "additionalProperties": false
    }
  }
}