# SoftwareLegalIssues-schema.json

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "../Documentation/Implementation/data_model/Json/",
    "title": "SoftwareLegalIssues",
    "description": "SoftwareLegalIssues schema",
    "dataTypes": [
        "software"
    ],
    "type": "object",
    "properties": {
        "author": {
            "type": "array",
            "items": {
                "type": "object",
                "$comment": "class=Contributor",
                "properties": {
                    "dbid": {
                        "type": "number"
                    }
                },
                "required": [
                    "dbid"
                ]
            },
            "description": "Software authors"
        },
        "contributor": {
            "type": "array",
            "items": {
                "type": "object",
                "$comment": "class=Contributor",
                "properties": {
                    "dbid": {
                        "type": "number"
                    }
                },
                "required": [
                    "dbid"
                ]
            },
            "description": "Principal software contributors"
        },
        "license": {
            "type": "array",
            "items": {
                "type": "object",
                "$comment": "class=License",
                "properties": {
                    "dbid": {
                        "type": "number"
                    }
                },
                "required": [
                    "dbid"
                ]
            },
            "description": "Software distribution license"
        },
        "description": {
            "type": "string",
            "description": "Aspects relating to legal security and software ownership"
        }
    },
    "required": [
        "author",
        "contributor",
        "license"
    ]
}