{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://exchange.beregov.me/api/json/schema/v1/schema.json",
  "title": "Документы API контура exchange",
  "description": "Любой документ /api/v1: запись или коллекция; вариант выбирается по @type.",
  "oneOf": [
    {
      "$ref": "schema/record/collections/representation.json"
    },
    {
      "$ref": "schema/record/summaries/representation.json"
    },
    {
      "$ref": "schema/record/calendar-days/representation.json"
    },
    {
      "$ref": "schema/record/calendar-weeks/representation.json"
    },
    {
      "$ref": "schema/record/events/representation.json"
    },
    {
      "$ref": "schema/record/news-days/representation.json"
    },
    {
      "$ref": "schema/record/reactions/representation.json"
    }
  ]
}
