{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://schema.traceoriginal.com/trace-original-generic-yaml-en-schema-v1.1.json",
  "title": "trace:original Generic Yaml Content Schema v1.1",
  "allOf": [{"$ref": "https://schema.traceoriginal.com/trace-original-agreement-en-schema-v1.1.json"}],
  "definitions": {
    "Generic": {
      "anyOf": [{"type": "object"}, {"type": "array"}, {"type": "string"}]
    }
  },
  "properties": {
    "Content": {
      "type": "object",
      "properties": {
        "Agreement type": {
          "type": "string",
          "position": 1
        },
        "Agreement terms": {
          "$ref": "#/definitions/Generic",
          "position": 2
        }
      }
    },
    "Amendments": {
      "type": "array",
      "items": {
        "Content": {
          "anyOf": [
            {
              "$ref": "#/definitions/Generic"
            },
            {
              "type": "string"
            }
          ]
        }
      }
    }
  }
}
