{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "https://www.omg.org/spec/DDS-JSON/20190601/dds-json_applications.schema.json",
    "title": "DDS-JSON: Building Block Applications",
    "description": "This schema defines the JSON syntax to represent DDS applications that participate (or may be participating) in the DDS Global Data Space.",
    "definitions": {
        "application": {
            "type": "object",
            "properties": {
                "name": {
                    "$ref": "dds-json_qos.schema.json#/definitions/elementName"
                },
                "domain_participants": {
                    "type": "array",
                    "items": {
                        "$ref": "dds-json_domainparticipants.schema.json#/definitions/domainParticipant"
                    },
                    "additionalItems": false
                }
            },
            "required": [
                "name"
            ],
            "additionalProperties": false
        },
        "applicationLibrary": {
            "type": "object",
            "properties": {
                "name": {
                    "$ref": "dds-json_qos.schema.json#/definitions/elementName"
                },
                "applications": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/application"
                    },
                    "additionalItems": false
                }
            },
            "required": [
                "name"
            ],
            "additionalProperties": false
        }
    },
    "type": "object",
    "properties": {
        "application_library": {
            "$ref": "#/definitions/applicationLibrary"
        }
    },
    "additionalProperties": false
}