{
  "description": "This is the interface description of @ODM.",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://sap.github.io/csn-interop-specification/spec-v1/odm.schema.json#",
  "title": "ODM Document",
  "type": "object",
  "definitions": {
    "@ODM.entityName": {
      "type": "string",
      "description": "The entity represents an ODM Entity with this official name.",
      "pattern": "^[a-zA-Z0-9._\\-]+$",
      "x-extension-targets": [
        "Entity"
      ],
      "title": "@ODM.entityName"
    },
    "@ODM.oid": {
      "description": "The annotation references the element which contains the oid.",
      "x-ref-to-doc": {
        "title": "Element Reference",
        "ref": "#/definitions/ElementReference"
      },
      "x-extension-targets": [
        "Entity"
      ],
      "title": "@ODM.oid",
      "$ref": "#/definitions/ElementReference"
    },
    "@ODM.oidReference.entityName": {
      "type": "string",
      "description": "The property contains an OID for the ODM Entity with this official name",
      "pattern": "^[a-zA-Z0-9._\\-]+$",
      "x-extension-targets": [
        "Type"
      ],
      "title": "@ODM.oidReference.entityName"
    }
  }
}