const localeSchemaDefinition = {
    klass: 'org.hisp.dhis.locales.ui',
    shareable: false,
    translatable: false,
    metadata: false,
    identifiableObject: false,
    apiEndpoint: 'http://localhost:8080/dhis/api/29/locales/ui',
    plural: 'locales',
    displayName: 'UI Locale',
    name: 'locales',
    singular: 'locale',
    authorities: [
        {
            type: 'CREATE_PUBLIC',
            authorities: [
                'F_SYSTEM_SETTING',
                'F_LOCALE_ADD',
            ],
        },
        {
            type: 'CREATE_PRIVATE',
            authorities: [
                'F_SYSTEM_SETTING',
                'F_LOCALE_ADD',
            ],
        },
        {
            type: 'DELETE',
            authorities: [
                'F_SYSTEM_SETTING',
            ],
        },
    ],
    properties: [
        {
            owner: false,
            ordered: false,
            collection: false,
            required: true,
            writable: true,
            embeddedObject: false,
            propertyType: 'TEXT',
            unique: false,
            name: 'locale',
            persisted: true,
        },
        {
            owner: false,
            ordered: false,
            collection: false,
            required: true,
            writable: true,
            embeddedObject: false,
            propertyType: 'TEXT',
            unique: false,
            name: 'name',
            persisted: true,
        },
        {
            fieldName: 'id',
            simple: true,
            required: false,
            writable: true,
            min: 0,
            nameableObject: false,
            klass: 'java.lang.Integer',
            propertyType: 'INTEGER',
            oneToOne: false,
            attribute: false,
            owner: false,
            readable: true,
            ordered: false,
            identifiableObject: false,
            max: 2147483647,
            manyToMany: false,
            collection: false,
            embeddedObject: false,
            unique: false,
            name: 'id',
            persisted: false,
            manyToOne: false,
        },
        {
            fieldName: 'access',
            simple: false,
            required: false,
            writable: true,
            min: 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.7976931348623157e+308,
            manyToMany: false,
            collection: false,
            embeddedObject: false,
            unique: false,
            name: 'access',
            namespace: 'http://dhis2.org/schema/dxf/2.0',
            persisted: false,
            manyToOne: false,
        },
        {
            owner: false,
            ordered: false,
            max: 500,
            collection: false,
            required: true,
            writable: true,
            min: 2,
            embeddedObject: false,
            propertyType: 'TEXT',
            unique: true,
            name: 'displayName',
            persisted: 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: 'lastUpdated',
            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,
        },
    ],
};

export default localeSchemaDefinition;
