Draft a data model

Click on the image of the spreadsheet and it will popup. Fill the blue cells and click the button under the image, you’ll get a drafted json schema documented according to the Smart data models below.
This is an alpha version. Currently there is no option for including array items or object properties. They have to be manually added to these data types.

Fill the blue cells


After clicking the button the page will refresh and you have to copy the generated schema below the spreadheet

SCHEMA

draft schema generated at 2021-05-17 16:00:18.910912+02:00

{
    "$schema": "http://json-schema.org/schema#",
    "$schemaVersion": "0.0",
    "$id": "https://smart-data-models.github.io/name of the subject/DataModelName/schema.json",
    "title": " Smart Data Models - Data Model Name",
    "description": "Description of the data model.",
    "type": "object",
    "allOf": [
        {
            "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons"
        },
        {
            "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons"
        },
        {
            "properties": {
                "property1": {
                    "type": "string",
                    "description": "Property. Model:'https://schema.org/Text'. Description of the property 1"
                },
                "property2": {
                    "type": "number",
                    "description": "Property. Model:'https://schema.org/Number'. Description of the property 2"
                },
                "property3": {
                    "type": "boolean",
                    "description": "Property. Model:'https://schema.org/Boolean'. Description of the property 3"
                },
                "property4": {
                    "type": "array",
                    "description": "Property. Description of the property 4",
                    "items": {}
                },
                "property5": {
                    "type": "object",
                    "description": "Property. Description of the property 5",
                    "properties": {}
                },
                "property6": {
                    "type": "string",
                    "format": "date-time",
                    "description": "Property. Model:'https://schema.org/DateTime'. Description of the property 6"
                },
                "property7": {
                    "type": "string",
                    "format": "uri",
                    "description": "Property. Model:'https://schema.org/URL'. Description of the property 7"
                },
                "property8": {
                    "$ref": "http://geojson.org/schema/Geometry.json"
                },
                "property9": {
                    "type": "string",
                    "format": "uri",
                    "description": "Relationship. Model:'https://schema.org/URL'. Description of the property 9"
                },
                "property10": {
                    "type": "number",
                    "description": "Property. Model:'https://schema.org/Number'. Description of the property 10"
                },
                "property11": {
                    "$ref": "http://geojson.org/schema/Geometry.json"
                },
                "property12": {
                    "type": "string",
                    "format": "uri",
                    "description": "Relationship. Model:'https://schema.org/URL'. Description of the property 12"
                },
                "property13": {
                    "type": "object",
                    "description": "Property. Description of the property 13",
                    "properties": {}
                },
                "property14": {
                    "type": "string",
                    "format": "date-time",
                    "description": "Property. Model:'https://schema.org/DateTime'. Description of the property 14"
                },
                "property15": {
                    "type": "string",
                    "format": "uri",
                    "description": "Property. Model:'https://schema.org/URL'. Description of the property 15"
                },
                "property16": {
                    "type": "object",
                    "description": "Property. Description of the property 16",
                    "properties": {}
                },
                "property17": {
                    "type": "string",
                    "description": "Property. Model:'https://schema.org/Text'. Description of the property 17"
                },
                "property18": {
                    "type": "number",
                    "description": "Property. Model:'https://schema.org/Number'. Description of the property 18"
                },
                "property19": {
                    "type": "boolean",
                    "description": "Property. Model:'https://schema.org/Boolean'. Description of the property 19"
                },
                "property20": {
                    "$ref": "http://geojson.org/schema/Geometry.json"
                },
                "property21": {
                    "type": "string",
                    "format": "uri",
                    "description": "Relationship. Model:'https://schema.org/URL'. Description of the property 21"
                },
                "property22": {
                    "type": "string",
                    "format": "date-time",
                    "description": "Property. Model:'https://schema.org/DateTime'. Description of the property 22"
                },
                "property23": {
                    "type": "string",
                    "format": "uri",
                    "description": "Property. Model:'https://schema.org/URL'. Description of the property 23"
                },
                "property24": {
                    "type": "object",
                    "description": "Property. Description of the property 24",
                    "properties": {}
                },
                "property25": {
                    "type": "string",
                    "description": "Property. Model:'https://schema.org/Text'. Description of the property 25"
                },
                "property26": {
                    "type": "number",
                    "description": "Property. Model:'https://schema.org/Number'. Description of the property 26"
                },
                "property27": {
                    "type": "boolean",
                    "description": "Property. Model:'https://schema.org/Boolean'. Description of the property 27"
                },
                "property28": {
                    "type": "array",
                    "description": "Property. Description of the property 28",
                    "items": {}
                },
                "property29": {
                    "type": "object",
                    "description": "Property. Description of the property 29",
                    "properties": {}
                },
                "property30": {
                    "type": "string",
                    "format": "date-time",
                    "description": "Property. Model:'https://schema.org/DateTime'. Description of the property 30"
                },
                "property31": {
                    "type": "string",
                    "format": "uri",
                    "description": "Property. Model:'https://schema.org/URL'. Description of the property 31"
                },
                "property32": {
                    "type": "object",
                    "description": "Property. Description of the property 32",
                    "properties": {}
                },
                "property33": {
                    "type": "string",
                    "description": "Property. Model:'https://schema.org/Text'. Description of the property 33"
                },
                "property34": {
                    "type": "number",
                    "description": "Property. Model:'https://schema.org/Number'. Description of the property 34"
                },
                "property35": {
                    "type": "boolean",
                    "description": "Property. Model:'https://schema.org/Boolean'. Description of the property 35"
                },
                "property36": {
                    "type": "array",
                    "description": "Property. Description of the property 36",
                    "items": {}
                },
                "property37": {
                    "type": "object",
                    "description": "Property. Description of the property 37",
                    "properties": {}
                },
                "property38": {
                    "type": "string",
                    "format": "date-time",
                    "description": "Property. Model:'https://schema.org/DateTime'. Description of the property 38"
                },
                "property39": {
                    "type": "string",
                    "format": "uri",
                    "description": "Property. Model:'https://schema.org/URL'. Description of the property 39"
                },
                "property40": {
                    "type": "object",
                    "description": "Property. Description of the property 40",
                    "properties": {}
                },
                "property41": {
                    "type": "string",
                    "description": "Property. Model:'https://schema.org/Text'. Description of the property 41"
                },
                "property42": {
                    "type": "number",
                    "description": "Property. Model:'https://schema.org/Number'. Description of the property 42"
                },
                "property43": {
                    "type": "boolean",
                    "description": "Property. Model:'https://schema.org/Boolean'. Description of the property 43"
                },
                "property44": {
                    "type": "array",
                    "description": "Property. Description of the property 44",
                    "items": {}
                },
                "property45": {
                    "type": "object",
                    "description": "Property. Description of the property 45",
                    "properties": {}
                },
                "property46": {
                    "type": "string",
                    "format": "date-time",
                    "description": "Property. Model:'https://schema.org/DateTime'. Description of the property 46"
                },
                "property47": {
                    "type": "string",
                    "format": "uri",
                    "description": "Property. Model:'https://schema.org/URL'. Description of the property 47"
                },
                "property48": {
                    "type": "object",
                    "description": "Property. Description of the property 48",
                    "properties": {}
                },
                "property49": {
                    "type": "string",
                    "description": "Property. Model:'https://schema.org/Text'. Description of the property 49"
                },
                "property50": {
                    "type": "number",
                    "description": "Property. Model:'https://schema.org/Number'. Description of the property 50"
                },
                "property51": {
                    "type": "boolean",
                    "description": "Property. Model:'https://schema.org/Boolean'. Description of the property 51"
                },
                "property52": {
                    "type": "array",
                    "description": "Property. Description of the property 52",
                    "items": {}
                },
                "property53": {
                    "type": "object",
                    "description": "Property. Description of the property 53",
                    "properties": {}
                },
                "property54": {
                    "type": "string",
                    "format": "date-time",
                    "description": "Property. Model:'https://schema.org/DateTime'. Description of the property 54"
                },
                "property55": {
                    "type": "string",
                    "format": "uri",
                    "description": "Property. Model:'https://schema.org/URL'. Description of the property 55"
                },
                "property56": {
                    "type": "object",
                    "description": "Property. Description of the property 56",
                    "properties": {}
                },
                "property57": {
                    "type": "string",
                    "description": "Property. Model:'https://schema.org/Text'. Description of the property 57"
                },
                "property58": {
                    "type": "number",
                    "description": "Property. Model:'https://schema.org/Number'. Description of the property 58"
                },
                "property59": {
                    "type": "boolean",
                    "description": "Property. Model:'https://schema.org/Boolean'. Description of the property 59"
                },
                "property60": {
                    "type": "array",
                    "description": "Property. Description of the property 60",
                    "items": {}
                },
                "property61": {
                    "type": "object",
                    "description": "Property. Description of the property 61",
                    "properties": {}
                },
                "property62": {
                    "type": "string",
                    "format": "date-time",
                    "description": "Property. Model:'https://schema.org/DateTime'. Description of the property 62"
                },
                "property63": {
                    "type": "string",
                    "format": "uri",
                    "description": "Property. Model:'https://schema.org/URL'. Description of the property 63"
                },
                "property64": {
                    "type": "object",
                    "description": "Property. Description of the property 64",
                    "properties": {}
                },
                "property65": {
                    "type": "string",
                    "description": "Property. Model:'https://schema.org/Text'. Description of the property 65"
                },
                "property66": {
                    "type": "number",
                    "description": "Property. Model:'https://schema.org/Number'. Description of the property 66"
                },
                "property67": {
                    "type": "boolean",
                    "description": "Property. Model:'https://schema.org/Boolean'. Description of the property 67"
                },
                "property68": {
                    "type": "array",
                    "description": "Property. Description of the property 68",
                    "items": {}
                },
                "property69": {
                    "type": "object",
                    "description": "Property. Description of the property 69",
                    "properties": {}
                },
                "property70": {
                    "type": "string",
                    "format": "date-time",
                    "description": "Property. Model:'https://schema.org/DateTime'. Description of the property 70"
                },
                "property71": {
                    "type": "string",
                    "format": "uri",
                    "description": "Property. Model:'https://schema.org/URL'. Description of the property 71"
                },
                "property72": {
                    "type": "object",
                    "description": "Property. Description of the property 72",
                    "properties": {}
                }
            }
        }
    ]
}

Comments are closed.