{
"name": "This is a test schema",
"objects": [
{
"name": "Test",
"attributes": [
{
"name": "name",
"multiple": false,
"is_id": false,
"dtypes": [
"string"
],
"docstring": "",
"options": [],
"term": "schema:hello",
"required": true,
"xml": {
"is_attr": true,
"name": "name",
"wrapped": null
},
"is_enum": false,
"position": {
"line": 33,
"column": {
"start": 1,
"end": 11
},
"offset": {
"start": 988,
"end": 1220
}
}
},
{
"name": "number",
"multiple": false,
"is_id": false,
"dtypes": [
"float"
],
"docstring": "",
"options": [],
"term": "schema:one",
"required": false,
"xml": {
"is_attr": true,
"name": "number",
"wrapped": null
},
"is_enum": false,
"position": {
"line": 37,
"column": {
"start": 1,
"end": 9
},
"offset": {
"start": 1054,
"end": 1117
}
}
},
{
"name": "test2",
"multiple": true,
"is_id": false,
"dtypes": [
"Test2"
],
"docstring": "",
"options": [],
"term": "schema:something",
"required": false,
"xml": {
"is_attr": false,
"name": "SomeTest2",
"wrapped": null
},
"is_enum": false,
"position": {
"line": 41,
"column": {
"start": 1,
"end": 8
},
"offset": {
"start": 1117,
"end": 1189
}
}
},
{
"name": "ontology",
"multiple": false,
"is_id": false,
"dtypes": [
"Ontology"
],
"docstring": "",
"options": [],
"term": null,
"required": false,
"xml": {
"is_attr": false,
"name": "ontology",
"wrapped": null
},
"is_enum": true,
"position": {
"line": 45,
"column": {
"start": 1,
"end": 11
},
"offset": {
"start": 1189,
"end": 1220
}
}
}
],
"docstring": "The schema defines the primary structure for the test entity. It contains multiple properties that capture various attributes of a test, including its name, numerical identifier, a nested array of test2 objects, and an ontology reference.",
"position": {
"line": 29,
"column": {
"start": 1,
"end": 9
},
"offset": {
"start": 731,
"end": 740
}
}
},
{
"name": "Test2",
"attributes": [
{
"name": "names",
"multiple": true,
"is_id": false,
"dtypes": [
"string"
],
"docstring": "",
"options": [],
"term": "schema:hello",
"required": false,
"xml": {
"is_attr": false,
"name": "name",
"wrapped": null
},
"is_enum": false,
"position": {
"line": 61,
"column": {
"start": 1,
"end": 8
},
"offset": {
"start": 1600,
"end": 1743
}
}
},
{
"name": "number",
"multiple": false,
"is_id": false,
"dtypes": [
"float"
],
"docstring": "",
"options": [
{
"key": "minimum",
"value": "0"
}
],
"term": "schema:one",
"required": false,
"xml": {
"is_attr": true,
"name": "number",
"wrapped": null
},
"is_enum": false,
"position": {
"line": 65,
"column": {
"start": 1,
"end": 9
},
"offset": {
"start": 1664,
"end": 1743
}
}
}
],
"docstring": "The schema represents a secondary structure used within the primary schema. It is designed to hold an array of strings for names, a numerical value with a specified minimum, and other nested properties.",
"position": {
"line": 57,
"column": {
"start": 1,
"end": 10
},
"offset": {
"start": 1370,
"end": 1380
}
}
}
],
"enums": [
{
"name": "Ontology",
"mappings": {
"ECO": "https://www.evidenceontology.org/term/",
"GO": "https://amigo.geneontology.org/amigo/term/",
"SIO": "http://semanticscience.org/resource/"
},
"docstring": "",
"position": {
"line": 73,
"column": {
"start": 1,
"end": 13
},
"offset": {
"start": 1760,
"end": 1773
}
}
}
],
"config": {
"id": null,
"id-field": true,
"prefixes": {
"schema": "http://schema.org/"
},
"nsmap": {
"tst": "http://example.com/test/"
},
"repo": "https://www.github.com/my/repo/",
"prefix": "tst",
"imports": {},
"allow-empty": false
}
}