# SoftwareRuntime-schema.json

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "../Documentation/Implementation/data_model/Json/",
    "title": "SoftwareRuntime",
    "description": "SoftwareRuntime schema",
    "dataTypes": [
        "software"
    ],
    "type": "object",
    "properties": {
        "programmingLanguage": {
            "type": "array",
            "items": {
                "type": "object",
                "$comment": "class=ProgrammingLanguage",
                "properties": {
                    "dbid": {
                        "type": "number"
                    }
                },
                "required": [
                    "dbid"
                ]
            },
            "description": "Programming languages ​​used in the software (name and version)"
        },
        "operatingSystem": {
            "type": "array",
            "items": {
                "type": "string"
            },
            "description": "Operating systems the code runs on"
        },
        "dependency": {
            "type": "array",
            "items": {
                "type": "object",
                "$comment": "class=DependencyReference",
                "properties": {
                    "dbid": {
                        "type": "number"
                    }
                },
                "required": [
                    "dbid"
                ]
            },
            "description": "Information about dependencies required to run the software"
        },
        "description": {
            "type": "string",
            "description": "Additional i nformations about runtime environment"
        }
    },
    "required": [
        "programmingLanguage",
        "operatingSystem",
        "dependency"
    ]
}