src/__fixtures__/json/api/schemas/dataSet.json
{
"klass": "org.hisp.dhis.dataset.DataSet",
"shareable": true,
"identifiableObject": true,
"relativeApiEndpoint": "/dataSets",
"metadata": true,
"plural": "dataSets",
"displayName": "Data Set",
"collectionName": "dataSets",
"implicitPrivateAuthority": false,
"apiEndpoint": "http://localhost:8080/api/dataSets",
"nameableObject": true,
"defaultPrivate": false,
"name": "dataSet",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"href": "http://localhost:8080/api/schemas/dataSet",
"singular": "dataSet",
"persisted": true,
"order": 1310,
"references": [
"org.hisp.dhis.dataset.Section",
"org.hisp.dhis.dataelement.DataElement",
"org.hisp.dhis.indicator.Indicator",
"org.hisp.dhis.dataelement.DataElementCategoryCombo",
"org.hisp.dhis.user.User",
"org.hisp.dhis.dataelement.DataElementOperand",
"org.hisp.dhis.dataentryform.DataEntryForm",
"org.hisp.dhis.dataapproval.DataApprovalWorkflow",
"org.hisp.dhis.organisationunit.OrganisationUnit",
"org.hisp.dhis.legend.LegendSet",
"org.hisp.dhis.user.UserGroup"
],
"authorities": [
{
"type": "CREATE_PUBLIC",
"authorities": ["F_DATASET_PUBLIC_ADD"]
},
{
"type": "CREATE_PRIVATE",
"authorities": ["F_DATASET_PRIVATE_ADD"]
},
{
"type": "DELETE",
"authorities": ["F_DATASET_DELETE"]
}
],
"properties": [
{
"fieldName": "validCompleteOnly",
"simple": true,
"required": false,
"writable": true,
"nameableObject": false,
"klass": "java.lang.Boolean",
"propertyType": "BOOLEAN",
"oneToOne": false,
"attribute": false,
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": false,
"manyToMany": false,
"length": 255,
"collection": false,
"unique": false,
"name": "validCompleteOnly",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"relativeApiEndpoint": "/dataEntryForms",
"fieldName": "dataEntryForm",
"simple": false,
"required": false,
"writable": true,
"nameableObject": false,
"klass": "org.hisp.dhis.dataentryform.DataEntryForm",
"propertyType": "REFERENCE",
"oneToOne": false,
"attribute": false,
"href": "http://localhost:8080/api/schemas/dataEntryForm",
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": true,
"cascade": "all",
"manyToMany": false,
"length": 255,
"collection": false,
"owningRole": "org.hisp.dhis.dataset.DataSet.dataEntryForm",
"apiEndpoint": "http://localhost:8080/api/dataEntryForms",
"unique": false,
"name": "dataEntryForm",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": true,
"constants": []
},
{
"fieldName": "aggregationType",
"simple": true,
"required": false,
"writable": true,
"nameableObject": false,
"klass": "org.hisp.dhis.analytics.AggregationType",
"propertyType": "CONSTANT",
"oneToOne": false,
"attribute": false,
"owner": false,
"readable": true,
"ordered": false,
"identifiableObject": false,
"manyToMany": false,
"collection": false,
"unique": false,
"name": "aggregationType",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": false,
"manyToOne": false,
"constants": [
"SUM",
"AVERAGE",
"AVERAGE_SUM_ORG_UNIT",
"COUNT",
"STDDEV",
"VARIANCE",
"MIN",
"MAX",
"NONE",
"DEFAULT",
"CUSTOM",
"AVERAGE_SUM_INT",
"AVERAGE_SUM_INT_DISAGGREGATION",
"AVERAGE_INT",
"AVERAGE_INT_DISAGGREGATION",
"AVERAGE_BOOL"
]
},
{
"fieldName": "code",
"description": "The unique code for this Object.",
"simple": true,
"required": false,
"writable": true,
"min": 0.0,
"nameableObject": false,
"klass": "java.lang.String",
"propertyType": "IDENTIFIER",
"oneToOne": false,
"attribute": true,
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": false,
"max": 50.0,
"manyToMany": false,
"length": 50,
"collection": false,
"unique": true,
"name": "code",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"fieldName": "access",
"simple": false,
"required": false,
"writable": true,
"min": 0.0,
"nameableObject": false,
"klass": "org.hisp.dhis.security.acl.Access",
"propertyType": "COMPLEX",
"oneToOne": false,
"attribute": false,
"owner": false,
"readable": true,
"ordered": false,
"identifiableObject": false,
"max": 1.7976931348623157e308,
"manyToMany": false,
"collection": false,
"unique": false,
"name": "access",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": false,
"manyToOne": false,
"constants": []
},
{
"fieldName": "dataElementDecoration",
"simple": true,
"required": false,
"writable": true,
"nameableObject": false,
"klass": "java.lang.Boolean",
"propertyType": "BOOLEAN",
"oneToOne": false,
"attribute": false,
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": false,
"manyToMany": false,
"length": 255,
"collection": false,
"unique": false,
"name": "dataElementDecoration",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"fieldName": "notifyCompletingUser",
"simple": true,
"required": false,
"writable": true,
"nameableObject": false,
"klass": "java.lang.Boolean",
"propertyType": "BOOLEAN",
"oneToOne": false,
"attribute": false,
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": false,
"manyToMany": false,
"length": 255,
"collection": false,
"unique": false,
"name": "notifyCompletingUser",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"fieldName": "displayName",
"simple": true,
"required": false,
"writable": true,
"min": 0.0,
"nameableObject": false,
"klass": "java.lang.String",
"propertyType": "TEXT",
"oneToOne": false,
"attribute": false,
"owner": false,
"readable": true,
"ordered": false,
"identifiableObject": false,
"max": 2.147483647e9,
"manyToMany": false,
"collection": false,
"unique": false,
"name": "displayName",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": false,
"manyToOne": false,
"constants": []
},
{
"fieldName": "publicAccess",
"simple": true,
"required": false,
"writable": true,
"min": 8.0,
"nameableObject": false,
"klass": "java.lang.String",
"propertyType": "TEXT",
"oneToOne": false,
"attribute": false,
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": false,
"max": 8.0,
"manyToMany": false,
"length": 8,
"collection": false,
"unique": false,
"name": "publicAccess",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"fieldName": "noValueRequiresComment",
"simple": true,
"required": false,
"writable": true,
"nameableObject": false,
"klass": "java.lang.Boolean",
"propertyType": "BOOLEAN",
"oneToOne": false,
"attribute": false,
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": false,
"manyToMany": false,
"length": 255,
"collection": false,
"unique": false,
"name": "noValueRequiresComment",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"relativeApiEndpoint": "/dataElementOperands",
"fieldName": "compulsoryDataElementOperands",
"simple": false,
"required": false,
"writable": true,
"collectionName": "compulsoryDataElementOperands",
"min": 0.0,
"nameableObject": true,
"klass": "java.util.Set",
"propertyType": "COLLECTION",
"oneToOne": false,
"attribute": false,
"href": "http://localhost:8080/api/schemas/dataElementOperand",
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": true,
"max": 1.7976931348623157e308,
"cascade": "all-delete-orphan",
"manyToMany": true,
"collection": true,
"owningRole": "org.hisp.dhis.dataset.DataSet.compulsoryDataElementOperands",
"itemPropertyType": "REFERENCE",
"collectionWrapping": true,
"itemKlass": "org.hisp.dhis.dataelement.DataElementOperand",
"apiEndpoint": "http://localhost:8080/api/dataElementOperands",
"unique": false,
"name": "compulsoryDataElementOperand",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"fieldName": "description",
"simple": true,
"required": false,
"writable": true,
"min": 1.0,
"nameableObject": false,
"klass": "java.lang.String",
"propertyType": "TEXT",
"oneToOne": false,
"attribute": false,
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": false,
"max": 2.147483647e9,
"manyToMany": false,
"length": 2147483647,
"collection": false,
"unique": false,
"name": "description",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"fieldName": "skipOffline",
"simple": true,
"required": false,
"writable": true,
"nameableObject": false,
"klass": "java.lang.Boolean",
"propertyType": "BOOLEAN",
"oneToOne": false,
"attribute": false,
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": false,
"manyToMany": false,
"length": 255,
"collection": false,
"unique": false,
"name": "skipOffline",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"fieldName": "displayShortName",
"simple": true,
"required": false,
"writable": true,
"min": 0.0,
"nameableObject": false,
"klass": "java.lang.String",
"propertyType": "TEXT",
"oneToOne": false,
"attribute": false,
"owner": false,
"readable": true,
"ordered": false,
"identifiableObject": false,
"max": 2.147483647e9,
"manyToMany": false,
"collection": false,
"unique": false,
"name": "displayShortName",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": false,
"manyToOne": false,
"constants": []
},
{
"fieldName": "externalAccess",
"simple": true,
"required": false,
"writable": true,
"nameableObject": false,
"klass": "java.lang.Boolean",
"propertyType": "BOOLEAN",
"oneToOne": false,
"attribute": false,
"owner": false,
"readable": true,
"ordered": false,
"identifiableObject": false,
"manyToMany": false,
"collection": false,
"unique": false,
"name": "externalAccess",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": false,
"manyToOne": false,
"constants": []
},
{
"fieldName": "fieldCombinationRequired",
"simple": true,
"required": false,
"writable": true,
"nameableObject": false,
"klass": "java.lang.Boolean",
"propertyType": "BOOLEAN",
"oneToOne": false,
"attribute": false,
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": false,
"manyToMany": false,
"length": 255,
"collection": false,
"unique": false,
"name": "fieldCombinationRequired",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"fieldName": "lastUpdated",
"description": "The date this object was last updated.",
"simple": true,
"required": false,
"writable": true,
"nameableObject": false,
"klass": "java.util.Date",
"propertyType": "DATE",
"oneToOne": false,
"attribute": true,
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": false,
"manyToMany": false,
"length": 255,
"collection": false,
"unique": false,
"name": "lastUpdated",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"relativeApiEndpoint": "/categoryCombos",
"fieldName": "categoryCombo",
"simple": false,
"required": false,
"writable": true,
"nameableObject": false,
"klass": "org.hisp.dhis.dataelement.DataElementCategoryCombo",
"propertyType": "REFERENCE",
"oneToOne": false,
"attribute": false,
"href": "http://localhost:8080/api/schemas/categoryCombo",
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": true,
"cascade": "none",
"manyToMany": false,
"length": 255,
"collection": false,
"owningRole": "org.hisp.dhis.dataset.DataSet.categoryCombo",
"apiEndpoint": "http://localhost:8080/api/categoryCombos",
"unique": false,
"name": "categoryCombo",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": true,
"constants": []
},
{
"fieldName": "translations",
"simple": false,
"required": false,
"writable": true,
"collectionName": "translations",
"min": 0.0,
"nameableObject": false,
"klass": "java.util.Set",
"propertyType": "COLLECTION",
"oneToOne": false,
"attribute": false,
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": false,
"max": 1.7976931348623157e308,
"cascade": "delete-orphan",
"manyToMany": true,
"collection": true,
"owningRole": "org.hisp.dhis.dataset.DataSet.translations",
"itemPropertyType": "COMPLEX",
"collectionWrapping": true,
"itemKlass": "org.hisp.dhis.translation.ObjectTranslation",
"unique": false,
"name": "translation",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"relativeApiEndpoint": "/organisationUnits",
"fieldName": "sources",
"simple": false,
"required": false,
"writable": true,
"collectionName": "organisationUnits",
"min": 0.0,
"nameableObject": true,
"klass": "java.util.Set",
"propertyType": "COLLECTION",
"oneToOne": false,
"attribute": false,
"href": "http://localhost:8080/api/schemas/organisationUnit",
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": true,
"max": 1.7976931348623157e308,
"cascade": "none",
"manyToMany": true,
"collection": true,
"owningRole": "org.hisp.dhis.dataset.DataSet.sources",
"itemPropertyType": "REFERENCE",
"collectionWrapping": true,
"itemKlass": "org.hisp.dhis.organisationunit.OrganisationUnit",
"inverseRole": "org.hisp.dhis.organisationunit.OrganisationUnit.dataSets",
"apiEndpoint": "http://localhost:8080/api/organisationUnits",
"unique": false,
"name": "organisationUnit",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"fieldName": "uid",
"description": "The Unique Identifier for this Object.",
"simple": true,
"required": false,
"writable": true,
"min": 11.0,
"nameableObject": false,
"klass": "java.lang.String",
"propertyType": "IDENTIFIER",
"oneToOne": false,
"attribute": true,
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": false,
"max": 11.0,
"manyToMany": false,
"length": 11,
"collection": false,
"unique": true,
"name": "id",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"fieldName": "href",
"simple": true,
"required": false,
"writable": true,
"min": 0.0,
"nameableObject": false,
"klass": "java.lang.String",
"propertyType": "URL",
"oneToOne": false,
"attribute": true,
"owner": false,
"readable": true,
"ordered": false,
"identifiableObject": false,
"max": 1.7976931348623157e308,
"manyToMany": false,
"collection": false,
"unique": false,
"name": "href",
"persisted": false,
"manyToOne": false,
"constants": []
},
{
"relativeApiEndpoint": "/dataElements",
"fieldName": "dataElements",
"simple": false,
"required": false,
"writable": true,
"collectionName": "dataElements",
"min": 0.0,
"nameableObject": true,
"klass": "java.util.Set",
"propertyType": "COLLECTION",
"oneToOne": false,
"attribute": false,
"href": "http://localhost:8080/api/schemas/dataElement",
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": true,
"max": 1.7976931348623157e308,
"cascade": "none",
"manyToMany": true,
"collection": true,
"owningRole": "org.hisp.dhis.dataset.DataSet.dataElements",
"itemPropertyType": "REFERENCE",
"collectionWrapping": true,
"itemKlass": "org.hisp.dhis.dataelement.DataElement",
"inverseRole": "org.hisp.dhis.dataelement.DataElement.dataSets",
"apiEndpoint": "http://localhost:8080/api/dataElements",
"unique": false,
"name": "dataElement",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"fieldName": "displayDescription",
"simple": true,
"required": false,
"writable": true,
"min": 0.0,
"nameableObject": false,
"klass": "java.lang.String",
"propertyType": "TEXT",
"oneToOne": false,
"attribute": false,
"owner": false,
"readable": true,
"ordered": false,
"identifiableObject": false,
"max": 2.147483647e9,
"manyToMany": false,
"collection": false,
"unique": false,
"name": "displayDescription",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": false,
"manyToOne": false,
"constants": []
},
{
"fieldName": "renderHorizontally",
"simple": true,
"required": false,
"writable": true,
"nameableObject": false,
"klass": "java.lang.Boolean",
"propertyType": "BOOLEAN",
"oneToOne": false,
"attribute": false,
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": false,
"manyToMany": false,
"length": 255,
"collection": false,
"unique": false,
"name": "renderHorizontally",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"fieldName": "formType",
"simple": true,
"required": false,
"writable": false,
"nameableObject": false,
"klass": "org.hisp.dhis.dataset.FormType",
"propertyType": "CONSTANT",
"oneToOne": false,
"attribute": false,
"owner": false,
"readable": true,
"ordered": false,
"identifiableObject": false,
"manyToMany": false,
"collection": false,
"unique": false,
"name": "formType",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": false,
"manyToOne": false,
"constants": ["DEFAULT", "CUSTOM", "SECTION", "SECTION_MULTIORG"]
},
{
"fieldName": "renderAsTabs",
"simple": true,
"required": false,
"writable": true,
"nameableObject": false,
"klass": "java.lang.Boolean",
"propertyType": "BOOLEAN",
"oneToOne": false,
"attribute": false,
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": false,
"manyToMany": false,
"length": 255,
"collection": false,
"unique": false,
"name": "renderAsTabs",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"fieldName": "userGroupAccesses",
"simple": false,
"required": false,
"writable": true,
"collectionName": "userGroupAccesses",
"min": 0.0,
"nameableObject": false,
"klass": "java.util.Set",
"propertyType": "COLLECTION",
"oneToOne": false,
"attribute": false,
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": false,
"max": 1.7976931348623157e308,
"cascade": "none",
"manyToMany": true,
"collection": true,
"owningRole": "org.hisp.dhis.dataset.DataSet.userGroupAccesses",
"itemPropertyType": "COMPLEX",
"collectionWrapping": true,
"itemKlass": "org.hisp.dhis.user.UserGroupAccess",
"unique": false,
"name": "userGroupAccess",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"relativeApiEndpoint": "/dataApprovalWorkflows",
"fieldName": "workflow",
"simple": false,
"required": false,
"writable": true,
"nameableObject": false,
"klass": "org.hisp.dhis.dataapproval.DataApprovalWorkflow",
"propertyType": "REFERENCE",
"oneToOne": false,
"attribute": false,
"href": "http://localhost:8080/api/schemas/dataApprovalWorkflow",
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": true,
"cascade": "none",
"manyToMany": false,
"length": 255,
"collection": false,
"owningRole": "org.hisp.dhis.dataset.DataSet.workflow",
"apiEndpoint": "http://localhost:8080/api/dataApprovalWorkflows",
"unique": false,
"name": "workflow",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": true,
"constants": []
},
{
"fieldName": "dimensionItem",
"simple": true,
"required": false,
"writable": false,
"nameableObject": false,
"klass": "java.lang.String",
"propertyType": "TEXT",
"oneToOne": false,
"attribute": false,
"owner": false,
"readable": true,
"ordered": false,
"identifiableObject": false,
"manyToMany": false,
"collection": false,
"unique": false,
"name": "dimensionItem",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": false,
"manyToOne": false,
"constants": []
},
{
"fieldName": "created",
"description": "The date this object was created.",
"simple": true,
"required": false,
"writable": true,
"nameableObject": false,
"klass": "java.util.Date",
"propertyType": "DATE",
"oneToOne": false,
"attribute": true,
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": false,
"manyToMany": false,
"length": 255,
"collection": false,
"unique": false,
"name": "created",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"fieldName": "mobile",
"simple": true,
"required": true,
"writable": true,
"nameableObject": false,
"klass": "java.lang.Boolean",
"propertyType": "BOOLEAN",
"oneToOne": false,
"attribute": false,
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": false,
"manyToMany": false,
"length": 255,
"collection": false,
"unique": false,
"name": "mobile",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"fieldName": "attributeValues",
"simple": false,
"required": false,
"writable": true,
"collectionName": "attributeValues",
"min": 0.0,
"nameableObject": false,
"klass": "java.util.Set",
"propertyType": "COLLECTION",
"oneToOne": false,
"attribute": false,
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": false,
"max": 1.7976931348623157e308,
"cascade": "delete-orphan",
"manyToMany": true,
"collection": true,
"owningRole": "org.hisp.dhis.dataset.DataSet.attributeValues",
"itemPropertyType": "COMPLEX",
"collectionWrapping": true,
"itemKlass": "org.hisp.dhis.attribute.AttributeValue",
"unique": false,
"name": "attributeValue",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"relativeApiEndpoint": "/indicators",
"fieldName": "indicators",
"simple": false,
"required": false,
"writable": true,
"collectionName": "indicators",
"min": 0.0,
"nameableObject": true,
"klass": "java.util.Set",
"propertyType": "COLLECTION",
"oneToOne": false,
"attribute": false,
"href": "http://localhost:8080/api/schemas/indicator",
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": true,
"max": 1.7976931348623157e308,
"cascade": "none",
"manyToMany": true,
"collection": true,
"owningRole": "org.hisp.dhis.dataset.DataSet.indicators",
"itemPropertyType": "REFERENCE",
"collectionWrapping": true,
"itemKlass": "org.hisp.dhis.indicator.Indicator",
"inverseRole": "org.hisp.dhis.indicator.Indicator.dataSets",
"apiEndpoint": "http://localhost:8080/api/indicators",
"unique": false,
"name": "indicator",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"fieldName": "version",
"simple": true,
"required": false,
"writable": true,
"min": 0.0,
"nameableObject": false,
"klass": "java.lang.Integer",
"propertyType": "INTEGER",
"oneToOne": false,
"attribute": false,
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": false,
"max": 2.147483647e9,
"manyToMany": false,
"length": 2147483647,
"collection": false,
"unique": false,
"name": "version",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"relativeApiEndpoint": "/sections",
"fieldName": "sections",
"simple": false,
"required": false,
"writable": true,
"collectionName": "sections",
"min": 0.0,
"nameableObject": false,
"klass": "java.util.Set",
"propertyType": "COLLECTION",
"oneToOne": false,
"attribute": false,
"href": "http://localhost:8080/api/schemas/section",
"owner": false,
"readable": true,
"ordered": false,
"identifiableObject": true,
"max": 1.7976931348623157e308,
"cascade": "none",
"manyToMany": false,
"collection": true,
"itemPropertyType": "REFERENCE",
"collectionWrapping": true,
"itemKlass": "org.hisp.dhis.dataset.Section",
"inverseRole": "org.hisp.dhis.dataset.DataSet.sections",
"apiEndpoint": "http://localhost:8080/api/sections",
"unique": false,
"name": "section",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"fieldName": "timelyDays",
"simple": true,
"required": false,
"writable": true,
"min": 0.0,
"nameableObject": false,
"klass": "java.lang.Integer",
"propertyType": "INTEGER",
"oneToOne": false,
"attribute": false,
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": false,
"max": 2.147483647e9,
"manyToMany": false,
"length": 2147483647,
"collection": false,
"unique": false,
"name": "timelyDays",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"fieldName": "periodType",
"simple": true,
"required": false,
"writable": true,
"min": 0.0,
"nameableObject": false,
"klass": "org.hisp.dhis.period.PeriodType",
"propertyType": "TEXT",
"oneToOne": false,
"attribute": false,
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": false,
"max": 255.0,
"cascade": "none",
"manyToMany": false,
"length": 255,
"collection": false,
"owningRole": "org.hisp.dhis.dataset.DataSet.periodType",
"unique": false,
"name": "periodType",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": true,
"constants": []
},
{
"fieldName": "name",
"description": "The name of this Object. Required and unique.",
"simple": true,
"required": true,
"writable": true,
"min": 1.0,
"nameableObject": false,
"klass": "java.lang.String",
"propertyType": "TEXT",
"oneToOne": false,
"attribute": true,
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": false,
"max": 2.147483647e9,
"manyToMany": false,
"length": 230,
"collection": false,
"unique": false,
"name": "name",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"relativeApiEndpoint": "/legendSets",
"fieldName": "legendSet",
"simple": false,
"required": false,
"writable": true,
"nameableObject": false,
"klass": "org.hisp.dhis.legend.LegendSet",
"propertyType": "REFERENCE",
"oneToOne": false,
"attribute": false,
"href": "http://localhost:8080/api/schemas/legendSet",
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": true,
"cascade": "none",
"manyToMany": false,
"length": 255,
"collection": false,
"owningRole": "org.hisp.dhis.dataset.DataSet.legendSet",
"apiEndpoint": "http://localhost:8080/api/legendSets",
"unique": false,
"name": "legendSet",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": true,
"constants": []
},
{
"relativeApiEndpoint": "/userGroups",
"fieldName": "notificationRecipients",
"simple": false,
"required": false,
"writable": true,
"nameableObject": false,
"klass": "org.hisp.dhis.user.UserGroup",
"propertyType": "REFERENCE",
"oneToOne": false,
"attribute": false,
"href": "http://localhost:8080/api/schemas/userGroup",
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": true,
"cascade": "none",
"manyToMany": false,
"length": 255,
"collection": false,
"owningRole": "org.hisp.dhis.dataset.DataSet.notificationRecipients",
"apiEndpoint": "http://localhost:8080/api/userGroups",
"unique": false,
"name": "notificationRecipients",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": true,
"constants": []
},
{
"fieldName": "openFuturePeriods",
"simple": true,
"required": false,
"writable": true,
"min": 0.0,
"nameableObject": false,
"klass": "java.lang.Integer",
"propertyType": "INTEGER",
"oneToOne": false,
"attribute": false,
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": false,
"max": 2.147483647e9,
"manyToMany": false,
"length": 2147483647,
"collection": false,
"unique": false,
"name": "openFuturePeriods",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"fieldName": "expiryDays",
"simple": true,
"required": false,
"writable": true,
"min": 0.0,
"nameableObject": false,
"klass": "java.lang.Integer",
"propertyType": "INTEGER",
"oneToOne": false,
"attribute": false,
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": false,
"max": 2.147483647e9,
"manyToMany": false,
"length": 2147483647,
"collection": false,
"unique": false,
"name": "expiryDays",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"fieldName": "shortName",
"simple": true,
"required": false,
"writable": true,
"min": 1.0,
"nameableObject": false,
"klass": "java.lang.String",
"propertyType": "TEXT",
"oneToOne": false,
"attribute": true,
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": false,
"max": 2.147483647e9,
"manyToMany": false,
"length": 50,
"collection": false,
"unique": false,
"name": "shortName",
"persisted": true,
"manyToOne": false,
"constants": []
},
{
"relativeApiEndpoint": "/users",
"fieldName": "user",
"simple": false,
"required": false,
"writable": true,
"nameableObject": false,
"klass": "org.hisp.dhis.user.User",
"propertyType": "REFERENCE",
"oneToOne": false,
"attribute": false,
"href": "http://localhost:8080/api/schemas/user",
"owner": true,
"readable": true,
"ordered": false,
"identifiableObject": true,
"cascade": "none",
"manyToMany": false,
"length": 255,
"collection": false,
"owningRole": "org.hisp.dhis.dataset.DataSet.user",
"apiEndpoint": "http://localhost:8080/api/users",
"unique": false,
"name": "user",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": true,
"manyToOne": true,
"constants": []
},
{
"fieldName": "dimensionItemType",
"simple": true,
"required": false,
"writable": true,
"nameableObject": false,
"klass": "org.hisp.dhis.common.DimensionItemType",
"propertyType": "CONSTANT",
"oneToOne": false,
"attribute": false,
"owner": false,
"readable": true,
"ordered": false,
"identifiableObject": false,
"manyToMany": false,
"collection": false,
"unique": false,
"name": "dimensionItemType",
"namespace": "http://dhis2.org/schema/dxf/2.0",
"persisted": false,
"manyToOne": false,
"constants": [
"DATA_ELEMENT",
"DATA_ELEMENT_OPERAND",
"INDICATOR",
"REPORTING_RATE",
"PROGRAM_DATA_ELEMENT",
"PROGRAM_ATTRIBUTE",
"PROGRAM_INDICATOR",
"PERIOD",
"ORGANISATION_UNIT",
"CATEGORY_OPTION",
"DATA_ELEMENT_GROUP",
"ORGANISATION_UNIT_GROUP",
"CATEGORY_OPTION_GROUP"
]
}
]
}