src/__fixtures__/json/api/schemas/program.json

Summary

Maintainability
Test Coverage
{
    "klass": "org.hisp.dhis.program.Program",
    "shareable": true,
    "translatable": true,
    "relativeApiEndpoint": "/programs",
    "metadata": true,
    "identifiableObject": true,
    "plural": "programs",
    "displayName": "Program",
    "collectionName": "programs",
    "implicitPrivateAuthority": false,
    "apiEndpoint": "http://localhost:8080/dhis/api/programs",
    "nameableObject": true,
    "embeddedObject": false,
    "defaultPrivate": false,
    "name": "program",
    "namespace": "http://dhis2.org/schema/dxf/2.0",
    "href": "http://localhost:8080/dhis/api/schemas/program",
    "singular": "program",
    "persisted": true,
    "order": 1520,
    "references": [
        "org.hisp.dhis.dataentryform.DataEntryForm",
        "org.hisp.dhis.programrule.ProgramRuleVariable",
        "org.hisp.dhis.organisationunit.OrganisationUnit",
        "org.hisp.dhis.validation.ValidationCriteria",
        "org.hisp.dhis.programrule.ProgramRule",
        "org.hisp.dhis.program.ProgramIndicator",
        "org.hisp.dhis.dataelement.DataElementCategoryCombo",
        "org.hisp.dhis.user.UserAuthorityGroup",
        "org.hisp.dhis.trackedentity.TrackedEntity",
        "org.hisp.dhis.program.Program",
        "org.hisp.dhis.program.ProgramStage",
        "org.hisp.dhis.relationship.RelationshipType",
        "org.hisp.dhis.program.notification.ProgramNotificationTemplate",
        "org.hisp.dhis.user.User",
        "org.hisp.dhis.dataapproval.DataApprovalWorkflow",
        "org.hisp.dhis.program.ProgramTrackedEntityAttribute"
    ],
    "authorities": [
        {
            "type": "CREATE_PUBLIC",
            "authorities": ["F_PROGRAM_PUBLIC_ADD"]
        },
        {
            "type": "CREATE_PRIVATE",
            "authorities": ["F_PROGRAM_PRIVATE_ADD"]
        },
        {
            "type": "DELETE",
            "authorities": ["F_PROGRAM_DELETE"]
        }
    ],
    "properties": [
        {
            "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/dhis/api/schemas/dataEntryForm",
            "owner": true,
            "readable": true,
            "ordered": false,
            "identifiableObject": true,
            "cascade": "all",
            "manyToMany": false,
            "length": 255,
            "collection": false,
            "owningRole": "org.hisp.dhis.program.Program.dataEntryForm",
            "apiEndpoint": "http://localhost:8080/dhis/api/dataEntryForms",
            "embeddedObject": false,
            "unique": false,
            "name": "dataEntryForm",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": true
        },
        {
            "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,
            "embeddedObject": false,
            "unique": false,
            "name": "publicAccess",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "fieldName": "ignoreOverdueEvents",
            "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,
            "embeddedObject": false,
            "unique": false,
            "name": "ignoreOverdueEvents",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "fieldName": "skipOffline",
            "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,
            "embeddedObject": false,
            "unique": false,
            "name": "skipOffline",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "relativeApiEndpoint": "/programIndicators",
            "fieldName": "programIndicators",
            "simple": false,
            "required": false,
            "writable": true,
            "collectionName": "programIndicators",
            "min": 0.0,
            "nameableObject": true,
            "klass": "java.util.Set",
            "propertyType": "COLLECTION",
            "oneToOne": false,
            "attribute": false,
            "href": "http://localhost:8080/dhis/api/schemas/programIndicator",
            "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.program.ProgramIndicator",
            "inverseRole": "org.hisp.dhis.program.Program.programIndicators",
            "apiEndpoint": "http://localhost:8080/dhis/api/programIndicators",
            "embeddedObject": false,
            "unique": false,
            "name": "programIndicator",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "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,
            "embeddedObject": false,
            "unique": false,
            "name": "lastUpdated",
            "persisted": true,
            "manyToOne": false
        },
        {
            "relativeApiEndpoint": "/categoryCombos",
            "fieldName": "categoryCombo",
            "simple": false,
            "required": true,
            "writable": true,
            "nameableObject": false,
            "klass": "org.hisp.dhis.dataelement.DataElementCategoryCombo",
            "propertyType": "REFERENCE",
            "oneToOne": false,
            "attribute": false,
            "href": "http://localhost:8080/dhis/api/schemas/categoryCombo",
            "owner": true,
            "readable": true,
            "ordered": false,
            "identifiableObject": true,
            "cascade": "none",
            "manyToMany": false,
            "length": 255,
            "collection": false,
            "owningRole": "org.hisp.dhis.program.Program.categoryCombo",
            "apiEndpoint": "http://localhost:8080/dhis/api/categoryCombos",
            "embeddedObject": false,
            "unique": false,
            "name": "categoryCombo",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": true
        },
        {
            "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": "all-delete-orphan",
            "manyToMany": true,
            "collection": true,
            "owningRole": "org.hisp.dhis.program.Program.translations",
            "itemPropertyType": "COMPLEX",
            "collectionWrapping": true,
            "itemKlass": "org.hisp.dhis.translation.ObjectTranslation",
            "embeddedObject": false,
            "unique": false,
            "name": "translation",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "fieldName": "captureCoordinates",
            "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,
            "embeddedObject": false,
            "unique": false,
            "name": "captureCoordinates",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "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,
            "embeddedObject": false,
            "unique": true,
            "name": "id",
            "persisted": true,
            "manyToOne": false
        },
        {
            "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,
            "embeddedObject": false,
            "unique": false,
            "name": "href",
            "persisted": false,
            "manyToOne": false
        },
        {
            "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,
            "embeddedObject": false,
            "unique": false,
            "name": "displayDescription",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": false,
            "manyToOne": false
        },
        {
            "fieldName": "enrollmentDateLabel",
            "simple": true,
            "required": false,
            "writable": true,
            "min": 2.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,
            "embeddedObject": false,
            "unique": false,
            "name": "enrollmentDateLabel",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "relativeApiEndpoint": "/users",
            "fieldName": "lastUpdatedBy",
            "simple": false,
            "required": false,
            "writable": true,
            "nameableObject": false,
            "klass": "org.hisp.dhis.user.User",
            "propertyType": "REFERENCE",
            "oneToOne": false,
            "attribute": false,
            "href": "http://localhost:8080/dhis/api/schemas/user",
            "owner": true,
            "readable": true,
            "ordered": false,
            "identifiableObject": true,
            "cascade": "none",
            "manyToMany": false,
            "length": 255,
            "collection": false,
            "owningRole": "org.hisp.dhis.program.Program.lastUpdatedBy",
            "apiEndpoint": "http://localhost:8080/dhis/api/users",
            "embeddedObject": false,
            "unique": false,
            "name": "lastUpdatedBy",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": true
        },
        {
            "fieldName": "onlyEnrollOnce",
            "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,
            "embeddedObject": false,
            "unique": false,
            "name": "onlyEnrollOnce",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "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": "all-delete-orphan",
            "manyToMany": true,
            "collection": true,
            "owningRole": "org.hisp.dhis.program.Program.userGroupAccesses",
            "itemPropertyType": "COMPLEX",
            "collectionWrapping": true,
            "itemKlass": "org.hisp.dhis.user.UserGroupAccess",
            "embeddedObject": true,
            "unique": false,
            "name": "userGroupAccess",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "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/dhis/api/schemas/dataApprovalWorkflow",
            "owner": true,
            "readable": true,
            "ordered": false,
            "identifiableObject": true,
            "cascade": "none",
            "manyToMany": false,
            "length": 255,
            "collection": false,
            "owningRole": "org.hisp.dhis.program.Program.workflow",
            "apiEndpoint": "http://localhost:8080/dhis/api/dataApprovalWorkflows",
            "embeddedObject": false,
            "unique": false,
            "name": "workflow",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": true
        },
        {
            "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,
            "embeddedObject": false,
            "unique": false,
            "name": "created",
            "persisted": true,
            "manyToOne": false
        },
        {
            "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": "all-delete-orphan",
            "manyToMany": true,
            "collection": true,
            "owningRole": "org.hisp.dhis.program.Program.attributeValues",
            "itemPropertyType": "COMPLEX",
            "collectionWrapping": true,
            "itemKlass": "org.hisp.dhis.attribute.AttributeValue",
            "embeddedObject": false,
            "unique": false,
            "name": "attributeValue",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "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,
            "embeddedObject": false,
            "unique": false,
            "name": "version",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "fieldName": "selectIncidentDatesInFuture",
            "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,
            "embeddedObject": false,
            "unique": false,
            "name": "selectIncidentDatesInFuture",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "fieldName": "validationCriteria",
            "simple": false,
            "required": false,
            "writable": true,
            "collectionName": "validationCriterias",
            "min": 0.0,
            "nameableObject": false,
            "klass": "java.util.Set",
            "propertyType": "COLLECTION",
            "oneToOne": false,
            "attribute": false,
            "href": "http://localhost:8080/dhis/api/schemas/validationCriteria",
            "owner": true,
            "readable": true,
            "ordered": false,
            "identifiableObject": true,
            "max": 1.7976931348623157e308,
            "cascade": "none",
            "manyToMany": true,
            "collection": true,
            "owningRole": "org.hisp.dhis.program.Program.validationCriteria",
            "itemPropertyType": "REFERENCE",
            "collectionWrapping": true,
            "itemKlass": "org.hisp.dhis.validation.ValidationCriteria",
            "embeddedObject": false,
            "unique": false,
            "name": "validationCriteria",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "fieldName": "incidentDateLabel",
            "simple": true,
            "required": false,
            "writable": true,
            "min": 2.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,
            "embeddedObject": false,
            "unique": false,
            "name": "incidentDateLabel",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "relativeApiEndpoint": "/userRoles",
            "fieldName": "userRoles",
            "simple": false,
            "required": false,
            "writable": true,
            "collectionName": "userRoles",
            "min": 0.0,
            "nameableObject": false,
            "klass": "java.util.Set",
            "propertyType": "COLLECTION",
            "oneToOne": false,
            "attribute": false,
            "href": "http://localhost:8080/dhis/api/schemas/userRole",
            "owner": false,
            "readable": true,
            "ordered": false,
            "identifiableObject": true,
            "max": 1.7976931348623157e308,
            "cascade": "none",
            "manyToMany": true,
            "collection": true,
            "owningRole": "org.hisp.dhis.user.UserAuthorityGroup.programs",
            "itemPropertyType": "REFERENCE",
            "collectionWrapping": true,
            "itemKlass": "org.hisp.dhis.user.UserAuthorityGroup",
            "inverseRole": "org.hisp.dhis.program.Program.userRoles",
            "apiEndpoint": "http://localhost:8080/dhis/api/userRoles",
            "embeddedObject": false,
            "unique": false,
            "name": "userRole",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "fieldName": "expiryPeriodType",
            "simple": true,
            "required": false,
            "writable": true,
            "min": 0.0,
            "nameableObject": false,
            "klass": "org.hisp.dhis.period.PeriodType",
            "propertyType": "COMPLEX",
            "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.program.Program.expiryPeriodType",
            "embeddedObject": false,
            "unique": false,
            "name": "expiryPeriodType",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": true
        },
        {
            "fieldName": "userAccesses",
            "simple": false,
            "required": false,
            "writable": true,
            "collectionName": "userAccesses",
            "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": "all-delete-orphan",
            "manyToMany": true,
            "collection": true,
            "owningRole": "org.hisp.dhis.program.Program.userAccesses",
            "itemPropertyType": "COMPLEX",
            "collectionWrapping": true,
            "itemKlass": "org.hisp.dhis.user.UserAccess",
            "embeddedObject": true,
            "unique": false,
            "name": "userAccess",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "fieldName": "name",
            "translationKey": "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,
            "embeddedObject": false,
            "unique": false,
            "name": "name",
            "persisted": true,
            "manyToOne": false
        },
        {
            "fieldName": "selectEnrollmentDatesInFuture",
            "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,
            "embeddedObject": false,
            "unique": false,
            "name": "selectEnrollmentDatesInFuture",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "simple": true,
            "required": false,
            "writable": false,
            "nameableObject": false,
            "klass": "java.lang.Boolean",
            "propertyType": "BOOLEAN",
            "oneToOne": false,
            "attribute": false,
            "owner": false,
            "readable": true,
            "ordered": false,
            "identifiableObject": false,
            "manyToMany": false,
            "collection": false,
            "embeddedObject": false,
            "unique": false,
            "name": "registration",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": false,
            "manyToOne": false
        },
        {
            "fieldName": "shortName",
            "translationKey": "SHORT_NAME",
            "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,
            "embeddedObject": false,
            "unique": true,
            "name": "shortName",
            "persisted": true,
            "manyToOne": false
        },
        {
            "fieldName": "useFirstStageDuringRegistration",
            "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,
            "embeddedObject": false,
            "unique": false,
            "name": "useFirstStageDuringRegistration",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "relativeApiEndpoint": "/trackedEntities",
            "fieldName": "trackedEntity",
            "simple": false,
            "required": false,
            "writable": true,
            "nameableObject": true,
            "klass": "org.hisp.dhis.trackedentity.TrackedEntity",
            "propertyType": "REFERENCE",
            "oneToOne": false,
            "attribute": false,
            "href": "http://localhost:8080/dhis/api/schemas/trackedEntity",
            "owner": true,
            "readable": true,
            "ordered": false,
            "identifiableObject": true,
            "cascade": "none",
            "manyToMany": false,
            "length": 255,
            "collection": false,
            "owningRole": "org.hisp.dhis.program.Program.trackedEntity",
            "apiEndpoint": "http://localhost:8080/dhis/api/trackedEntities",
            "embeddedObject": false,
            "unique": false,
            "name": "trackedEntity",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": true
        },
        {
            "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,
            "embeddedObject": false,
            "unique": true,
            "name": "code",
            "persisted": true,
            "manyToOne": false
        },
        {
            "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,
            "embeddedObject": false,
            "unique": false,
            "name": "access",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": false,
            "manyToOne": false
        },
        {
            "relativeApiEndpoint": "/programRuleVariables",
            "fieldName": "programRuleVariables",
            "simple": false,
            "required": false,
            "writable": true,
            "collectionName": "programRuleVariables",
            "min": 0.0,
            "nameableObject": false,
            "klass": "java.util.Set",
            "propertyType": "COLLECTION",
            "oneToOne": false,
            "attribute": false,
            "href": "http://localhost:8080/dhis/api/schemas/programRuleVariable",
            "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.programrule.ProgramRuleVariable",
            "inverseRole": "org.hisp.dhis.program.Program.programRuleVariables",
            "apiEndpoint": "http://localhost:8080/dhis/api/programRuleVariables",
            "embeddedObject": false,
            "unique": false,
            "name": "programRuleVariable",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "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,
            "embeddedObject": false,
            "unique": false,
            "name": "displayName",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": false,
            "manyToOne": false
        },
        {
            "fieldName": "programAttributes",
            "simple": false,
            "required": false,
            "writable": true,
            "collectionName": "programTrackedEntityAttributes",
            "min": 0.0,
            "nameableObject": false,
            "klass": "java.util.List",
            "propertyType": "COLLECTION",
            "oneToOne": false,
            "attribute": false,
            "href": "http://localhost:8080/dhis/api/schemas/programTrackedEntityAttribute",
            "owner": true,
            "readable": true,
            "ordered": true,
            "identifiableObject": true,
            "max": 1.7976931348623157e308,
            "cascade": "all-delete-orphan",
            "manyToMany": false,
            "collection": true,
            "owningRole": "org.hisp.dhis.program.Program.programAttributes",
            "itemPropertyType": "REFERENCE",
            "collectionWrapping": true,
            "itemKlass": "org.hisp.dhis.program.ProgramTrackedEntityAttribute",
            "embeddedObject": true,
            "unique": false,
            "name": "programTrackedEntityAttribute",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "fieldName": "completeEventsExpiryDays",
            "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,
            "embeddedObject": false,
            "unique": false,
            "name": "completeEventsExpiryDays",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "fieldName": "description",
            "translationKey": "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,
            "embeddedObject": false,
            "unique": false,
            "name": "description",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "relativeApiEndpoint": "/programs",
            "fieldName": "relatedProgram",
            "simple": false,
            "required": false,
            "writable": true,
            "nameableObject": true,
            "klass": "org.hisp.dhis.program.Program",
            "propertyType": "REFERENCE",
            "oneToOne": false,
            "attribute": false,
            "href": "http://localhost:8080/dhis/api/schemas/program",
            "owner": true,
            "readable": true,
            "ordered": false,
            "identifiableObject": true,
            "cascade": "none",
            "manyToMany": false,
            "length": 255,
            "collection": false,
            "owningRole": "org.hisp.dhis.program.Program.relatedProgram",
            "apiEndpoint": "http://localhost:8080/dhis/api/programs",
            "embeddedObject": false,
            "unique": false,
            "name": "relatedProgram",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": true
        },
        {
            "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,
            "embeddedObject": false,
            "unique": false,
            "name": "displayShortName",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": false,
            "manyToOne": false
        },
        {
            "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,
            "embeddedObject": false,
            "unique": false,
            "name": "externalAccess",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": false,
            "manyToOne": false
        },
        {
            "simple": true,
            "required": false,
            "writable": false,
            "nameableObject": false,
            "klass": "java.lang.Boolean",
            "propertyType": "BOOLEAN",
            "oneToOne": false,
            "attribute": false,
            "owner": false,
            "readable": true,
            "ordered": false,
            "identifiableObject": false,
            "manyToMany": false,
            "collection": false,
            "embeddedObject": false,
            "unique": false,
            "name": "withoutRegistration",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": false,
            "manyToOne": false
        },
        {
            "relativeApiEndpoint": "/programNotificationTemplates",
            "fieldName": "notificationTemplates",
            "simple": false,
            "required": false,
            "writable": true,
            "collectionName": "notificationTemplates",
            "min": 0.0,
            "nameableObject": false,
            "klass": "java.util.Set",
            "propertyType": "COLLECTION",
            "oneToOne": false,
            "attribute": false,
            "href": "http://localhost:8080/dhis/api/schemas/programNotificationTemplate",
            "owner": true,
            "readable": true,
            "ordered": false,
            "identifiableObject": true,
            "max": 1.7976931348623157e308,
            "cascade": "all",
            "manyToMany": false,
            "collection": true,
            "owningRole": "org.hisp.dhis.program.Program.notificationTemplates",
            "itemPropertyType": "REFERENCE",
            "collectionWrapping": true,
            "itemKlass": "org.hisp.dhis.program.notification.ProgramNotificationTemplate",
            "apiEndpoint": "http://localhost:8080/dhis/api/programNotificationTemplates",
            "embeddedObject": false,
            "unique": false,
            "name": "notificationTemplate",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "fieldName": "displayFrontPageList",
            "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,
            "embeddedObject": false,
            "unique": false,
            "name": "displayFrontPageList",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "relativeApiEndpoint": "/organisationUnits",
            "fieldName": "organisationUnits",
            "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/dhis/api/schemas/organisationUnit",
            "owner": true,
            "readable": true,
            "ordered": false,
            "identifiableObject": true,
            "max": 1.7976931348623157e308,
            "cascade": "none",
            "manyToMany": true,
            "collection": true,
            "owningRole": "org.hisp.dhis.program.Program.organisationUnits",
            "itemPropertyType": "REFERENCE",
            "collectionWrapping": true,
            "itemKlass": "org.hisp.dhis.organisationunit.OrganisationUnit",
            "inverseRole": "org.hisp.dhis.organisationunit.OrganisationUnit.programs",
            "apiEndpoint": "http://localhost:8080/dhis/api/organisationUnits",
            "embeddedObject": false,
            "unique": false,
            "name": "organisationUnit",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "fieldName": "programType",
            "simple": true,
            "required": true,
            "writable": true,
            "nameableObject": false,
            "klass": "org.hisp.dhis.program.ProgramType",
            "propertyType": "CONSTANT",
            "oneToOne": false,
            "attribute": false,
            "owner": true,
            "readable": true,
            "ordered": false,
            "identifiableObject": false,
            "manyToMany": false,
            "length": 255,
            "collection": false,
            "embeddedObject": false,
            "unique": false,
            "name": "programType",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false,
            "constants": ["WITH_REGISTRATION", "WITHOUT_REGISTRATION"]
        },
        {
            "relativeApiEndpoint": "/relationshipTypes",
            "fieldName": "relationshipType",
            "simple": false,
            "required": false,
            "writable": true,
            "nameableObject": false,
            "klass": "org.hisp.dhis.relationship.RelationshipType",
            "propertyType": "REFERENCE",
            "oneToOne": false,
            "attribute": false,
            "href": "http://localhost:8080/dhis/api/schemas/relationshipType",
            "owner": true,
            "readable": true,
            "ordered": false,
            "identifiableObject": true,
            "cascade": "none",
            "manyToMany": false,
            "length": 255,
            "collection": false,
            "owningRole": "org.hisp.dhis.program.Program.relationshipType",
            "apiEndpoint": "http://localhost:8080/dhis/api/relationshipTypes",
            "embeddedObject": false,
            "unique": false,
            "name": "relationshipType",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": true
        },
        {
            "fieldName": "relationshipFromA",
            "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,
            "embeddedObject": false,
            "unique": false,
            "name": "relationshipFromA",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "relativeApiEndpoint": "/programStages",
            "fieldName": "programStages",
            "simple": false,
            "required": false,
            "writable": true,
            "collectionName": "programStages",
            "min": 0.0,
            "nameableObject": false,
            "klass": "java.util.Set",
            "propertyType": "COLLECTION",
            "oneToOne": false,
            "attribute": false,
            "href": "http://localhost:8080/dhis/api/schemas/programStage",
            "owner": true,
            "readable": true,
            "ordered": false,
            "identifiableObject": true,
            "max": 1.7976931348623157e308,
            "cascade": "all",
            "manyToMany": false,
            "collection": true,
            "owningRole": "org.hisp.dhis.program.Program.programStages",
            "itemPropertyType": "REFERENCE",
            "collectionWrapping": true,
            "itemKlass": "org.hisp.dhis.program.ProgramStage",
            "apiEndpoint": "http://localhost:8080/dhis/api/programStages",
            "embeddedObject": false,
            "unique": false,
            "name": "programStage",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "fieldName": "relationshipText",
            "simple": true,
            "required": false,
            "writable": true,
            "min": 2.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": 255,
            "collection": false,
            "embeddedObject": false,
            "unique": false,
            "name": "relationshipText",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "fieldName": "displayIncidentDate",
            "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,
            "embeddedObject": false,
            "unique": false,
            "name": "displayIncidentDate",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "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,
            "embeddedObject": false,
            "unique": false,
            "name": "expiryDays",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        },
        {
            "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/dhis/api/schemas/user",
            "owner": true,
            "readable": true,
            "ordered": false,
            "identifiableObject": true,
            "cascade": "none",
            "manyToMany": false,
            "length": 255,
            "collection": false,
            "owningRole": "org.hisp.dhis.program.Program.user",
            "apiEndpoint": "http://localhost:8080/dhis/api/users",
            "embeddedObject": false,
            "unique": false,
            "name": "user",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": true
        },
        {
            "relativeApiEndpoint": "/programRules",
            "fieldName": "programRules",
            "simple": false,
            "required": false,
            "writable": true,
            "collectionName": "programRules",
            "min": 0.0,
            "nameableObject": false,
            "klass": "java.util.Set",
            "propertyType": "COLLECTION",
            "oneToOne": false,
            "attribute": false,
            "href": "http://localhost:8080/dhis/api/schemas/programRule",
            "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.programrule.ProgramRule",
            "inverseRole": "org.hisp.dhis.program.Program.programRules",
            "apiEndpoint": "http://localhost:8080/dhis/api/programRules",
            "embeddedObject": false,
            "unique": false,
            "name": "programRule",
            "namespace": "http://dhis2.org/schema/dxf/2.0",
            "persisted": true,
            "manyToOne": false
        }
    ]
}