├── src ├── requirements.txt ├── data │ ├── standards.json │ └── entity.json └── convert_to_eb.py ├── TaxCDM.csv ├── CDM 2.0.xlsx ├── CDM 3.0.xlsx ├── PropertyLegalCDM.csv ├── .vscode └── settings.json ├── Archive ├── EnginebAuditCDMv1.8 + Descriptions.csv └── AuditCDM │ ├── segmentListing.cdm.json │ ├── bankAccountMasterData.cdm.json │ ├── sourceListing.cdm.json │ ├── resolved │ └── segmentListing.cdm.json │ ├── userListing.cdm.json │ ├── businessUnit.cdm.json │ ├── taxTable.cdm.json │ ├── employeeMasterData.cdm.json │ ├── chartOfAccounts.cdm.json │ └── materialCost.cdm.json ├── AuditCDMV2 ├── EngineB-Audit-CDM-Version2-0.xlsx ├── segmentListing.cdm.json ├── materialCost.cdm.json ├── bankAccountMasterData.cdm.json ├── sourceListing.cdm.json ├── userListing.cdm.json ├── businessUnit.cdm.json └── taxTable.cdm.json ├── AuditCDMV3 ├── EngineB-Audit-CDM-Version3-0.xlsx ├── segmentListing.json ├── bankAccountMasterData.json ├── sourceListing.json ├── userListing.json ├── businessUnit.json └── taxTable.json ├── PropertyLegalCDM ├── meanings.qualifiers.cdm.json ├── config.json ├── meanings.cdm.json ├── TitleHolding.cdm.json ├── TitleCharges.cdm.json ├── SpaceClassification.cdm.json ├── PropertyLocationStatusType.cdm.json ├── TitleStatus.cdm.json ├── PropertyLocationFunction.cdm.json ├── LeaseTerm.cdm.json ├── LeaseHold.cdm.json ├── meanings.formats.cdm.json ├── SaleInformationLandLease.cdm.json ├── SubjectType.cdm.json ├── GovernmentalBody.cdm.json ├── LeaseholdImprovementType.cdm.json ├── Address.cdm.json ├── Utility.cdm.json ├── ExtraordinaryRepairPartyRelationshipType.cdm.json ├── Component.cdm.json ├── Unit.cdm.json ├── meanings.demographics.cdm.json ├── RelatedProperty.cdm.json ├── Parking.cdm.json ├── AlterationType.cdm.json ├── LeaseholdNotices.cdm.json ├── PropertyLocationPartyContract.cdm.json ├── RegisteredProprietor.cdm.json ├── Water.cdm.json ├── Contract.cdm.json ├── Title.cdm.json ├── PropertyConstuctionForm.cdm.json ├── LicenceToAlter.cdm.json ├── _allImports.cdm.json ├── PropertyType.cdm.json ├── FeatureCount.cdm.json ├── Changes.cdm.json ├── Duration.cdm.json ├── PropertyLocationStatus.cdm.json ├── ExtraordinaryRepairType.cdm.json ├── meanings.concepts.cdm.json ├── PropertyLocationCost.cdm.json ├── meanings.identity.cdm.json └── ExtraordinaryRepair.cdm.json ├── LICENSE ├── .gitignore └── README.md /src/requirements.txt: -------------------------------------------------------------------------------- 1 | pandas==2.2.3 -------------------------------------------------------------------------------- /TaxCDM.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Engine-B/EngineB-CDM/HEAD/TaxCDM.csv -------------------------------------------------------------------------------- /CDM 2.0.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Engine-B/EngineB-CDM/HEAD/CDM 2.0.xlsx -------------------------------------------------------------------------------- /CDM 3.0.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Engine-B/EngineB-CDM/HEAD/CDM 3.0.xlsx -------------------------------------------------------------------------------- /PropertyLegalCDM.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Engine-B/EngineB-CDM/HEAD/PropertyLegalCDM.csv -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "cSpell.words": [ 3 | "engineb", 4 | "fillna", 5 | "Payables" 6 | ] 7 | } -------------------------------------------------------------------------------- /Archive/EnginebAuditCDMv1.8 + Descriptions.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Engine-B/EngineB-CDM/HEAD/Archive/EnginebAuditCDMv1.8 + Descriptions.csv -------------------------------------------------------------------------------- /AuditCDMV2/EngineB-Audit-CDM-Version2-0.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Engine-B/EngineB-CDM/HEAD/AuditCDMV2/EngineB-Audit-CDM-Version2-0.xlsx -------------------------------------------------------------------------------- /AuditCDMV3/EngineB-Audit-CDM-Version3-0.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Engine-B/EngineB-CDM/HEAD/AuditCDMV3/EngineB-Audit-CDM-Version3-0.xlsx -------------------------------------------------------------------------------- /PropertyLegalCDM/meanings.qualifiers.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "$schema": "./schema.cdm.json", 4 | "imports": [ 5 | { 6 | "corpusPath": "/primitives.cdm.json" 7 | } 8 | ], 9 | "definitions": [ 10 | { 11 | "explanation": "augments the meaning of entities or attributes with a qualification", 12 | "traitName": "means.qualification", 13 | "extendsTrait": "means" 14 | }, 15 | { 16 | "explanation": "values are an estimate only.", 17 | "traitName": "means.qualification.estimate", 18 | "extendsTrait": "means.qualification" 19 | } 20 | ] 21 | } -------------------------------------------------------------------------------- /src/data/standards.json: -------------------------------------------------------------------------------- 1 | { 2 | "standards": [ 3 | { 4 | "name": "Accounts Payable", 5 | "abbreviation": "AP" 6 | }, 7 | { 8 | "name": "Accounts Receivable", 9 | "abbreviation": "AR" 10 | }, 11 | { 12 | "name": "Fixed Assets", 13 | "abbreviation": "FA" 14 | }, 15 | { 16 | "name": "General Ledger", 17 | "abbreviation": "GL" 18 | }, 19 | { 20 | "name": "Human Resources", 21 | "abbreviation": "HR" 22 | }, 23 | { 24 | "name": "Inventory", 25 | "abbreviation": "IV" 26 | } 27 | ] 28 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "defaultNamespace": "idw", 3 | "adapters": [ 4 | { 5 | "type": "adls", 6 | "config": { 7 | "hostname": "stdemocompanyaccount2.dfs.core.windows.net", 8 | "root": "/idwrealestate/cdmschema", 9 | "timeout": 600000.0, 10 | "maximumTimeout": 60000.0, 11 | "numberOfRetries": 3 12 | }, 13 | "namespace": "adls" 14 | }, 15 | { 16 | "type": "adls", 17 | "config": { 18 | "hostname": "builtinmodels.dfs.core.windows.net", 19 | "root": "/data/Retail", 20 | "timeout": 600000.0, 21 | "maximumTimeout": 60000.0, 22 | "numberOfRetries": 3 23 | }, 24 | "namespace": "idw" 25 | } 26 | ] 27 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/meanings.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "$schema": "./schema.cdm.json", 4 | "imports": [ 5 | { 6 | "corpusPath": "/primitives.cdm.json" 7 | }, 8 | { 9 | "corpusPath": "/meanings.concepts.cdm.json" 10 | }, 11 | { 12 | "corpusPath": "/meanings.identity.cdm.json" 13 | }, 14 | { 15 | "corpusPath": "/meanings.calendar.cdm.json" 16 | }, 17 | { 18 | "corpusPath": "/meanings.measurement.cdm.json" 19 | }, 20 | { 21 | "corpusPath": "/meanings.formats.cdm.json" 22 | }, 23 | { 24 | "corpusPath": "/meanings.qualifiers.cdm.json" 25 | }, 26 | { 27 | "corpusPath": "/meanings.demographics.cdm.json" 28 | }, 29 | { 30 | "corpusPath": "/meanings.location.cdm.json" 31 | }, 32 | { 33 | "corpusPath": "/meanings.privacy.cdm.json" 34 | } 35 | ] 36 | } -------------------------------------------------------------------------------- /Archive/AuditCDM/segmentListing.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "cdm:/foundations.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "segmentListing", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "segment0XDescription", 15 | "purpose": "hasA", 16 | "dataType": "string", 17 | "isNullable": true, 18 | "displayName": "segment0XDescription", 19 | "description": "" 20 | }, 21 | { 22 | "name": "segment0XValue", 23 | "purpose": "identifiedBy", 24 | "dataType": "string", 25 | "displayName": "segment0XValue", 26 | "description": "Value of Segment0X (X may equal 1 to 5)." 27 | } 28 | ], 29 | "displayName": "segmentListing", 30 | "description": "" 31 | } 32 | ] 33 | } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 EngineB 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /AuditCDMV2/segmentListing.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "2.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "cdm:/foundations.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "segmentListing", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | [ 14 | { 15 | "name": "segment0XDescription", 16 | "purpose": "hasA", 17 | "dataType": "string", 18 | "isNullable": true, 19 | "displayName": "segment0XDescription", 20 | "description": "Segment description to indicate the name of Segment 0X" 21 | }, 22 | { 23 | "name": "segment0XValue", 24 | "purpose": "identifiedBy", 25 | "dataType": "string", 26 | "isNullable": false, 27 | "displayName": "segment0XValue", 28 | "description": "Value of Segment0X (X may equal 1 to 5)." 29 | } 30 | ] 31 | ], 32 | "displayName": "segmentListing", 33 | "description": "" 34 | } 35 | ] 36 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/TitleHolding.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "TitleHolding", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "TitleHoldingId", 15 | "purpose": "identifiedBy", 16 | "dataType": "integer", 17 | "displayName": "TitleHoldingId", 18 | "description": "" 19 | }, 20 | { 21 | "name": "LeaseId", 22 | "purpose": "hasA", 23 | "dataType": "integer", 24 | "isNullable": true, 25 | "displayName": "LeaseId", 26 | "description": "" 27 | }, 28 | { 29 | "name": "Freehold", 30 | "purpose": "hasA", 31 | "dataType": "string", 32 | "isNullable": true, 33 | "displayName": "Freehold", 34 | "description": "" 35 | }, 36 | { 37 | "name": "TitleId", 38 | "purpose": "hasA", 39 | "dataType": "integer", 40 | "isNullable": true, 41 | "displayName": "TitleId", 42 | "description": "" 43 | } 44 | ], 45 | "displayName": "TitleHolding", 46 | "description": "" 47 | } 48 | ] 49 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/TitleCharges.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "TitleCharges", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "TitleChargesId", 15 | "purpose": "identifiedBy", 16 | "dataType": "integer", 17 | "displayName": "TitleChargesId", 18 | "description": "" 19 | }, 20 | { 21 | "name": "TitleId", 22 | "purpose": "hasA", 23 | "dataType": "integer", 24 | "isNullable": true, 25 | "displayName": "TitleId", 26 | "description": "" 27 | }, 28 | { 29 | "name": "Mortgages", 30 | "purpose": "hasA", 31 | "dataType": "string", 32 | "isNullable": true, 33 | "displayName": "Mortgages", 34 | "description": "" 35 | }, 36 | { 37 | "name": "LImitingInterests", 38 | "purpose": "hasA", 39 | "dataType": "string", 40 | "isNullable": true, 41 | "displayName": "LImitingInterests", 42 | "description": "" 43 | } 44 | ], 45 | "displayName": "TitleCharges", 46 | "description": "" 47 | } 48 | ] 49 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/SpaceClassification.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "SpaceClassification", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "SpaceClassificationId", 15 | "purpose": "identifiedBy", 16 | "dataType": "integer", 17 | "displayName": "Space Classification ID", 18 | "description": "The unique identifier of the Space Classification." 19 | }, 20 | { 21 | "name": "SpaceClassificationName", 22 | "purpose": "hasA", 23 | "dataType": "string", 24 | "isNullable": true, 25 | "displayName": "Space Classification Name", 26 | "description": "The name of the Space Classification.", 27 | "maximumLength": 128 28 | }, 29 | { 30 | "name": "SpaceClassificationDescription", 31 | "purpose": "hasA", 32 | "dataType": "string", 33 | "isNullable": true, 34 | "displayName": "Space Classification Description", 35 | "description": "The description of the Space Classification.", 36 | "maximumLength": 512 37 | } 38 | ], 39 | "displayName": "Space Classification", 40 | "description": "A classification of the type of space.\n\nEx:\n- Retail\n- Commercial\n- Administrative\n- Public" 41 | } 42 | ] 43 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/PropertyLocationStatusType.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "PropertyLocationStatusType", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "PropertyLocationStatusId", 15 | "purpose": "identifiedBy", 16 | "dataType": "integer", 17 | "displayName": "Property Location Status ID", 18 | "description": "The unique identifier of a Property Location Status." 19 | }, 20 | { 21 | "name": "PropertyLocationStatusName", 22 | "purpose": "hasA", 23 | "dataType": "string", 24 | "isNullable": true, 25 | "displayName": "Property Location Status Name", 26 | "description": "The name of the Property Location Status.", 27 | "maximumLength": 128 28 | }, 29 | { 30 | "name": "PropertyLocationStatusDescription", 31 | "purpose": "hasA", 32 | "dataType": "string", 33 | "isNullable": true, 34 | "displayName": "Property Location Status Description", 35 | "description": "The description of the Property Location Status.", 36 | "maximumLength": 512 37 | } 38 | ], 39 | "displayName": "Property Location Status Type", 40 | "description": "The status of a specific Property Location.\n\nEx:\n- Available\n- Occupied\n- Unavailable\n- Capacity Available\n- Over Capacity" 41 | } 42 | ] 43 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/TitleStatus.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "TitleStatus", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "TitleId", 15 | "purpose": "hasA", 16 | "dataType": "integer", 17 | "displayName": "TitleId", 18 | "description": "" 19 | }, 20 | { 21 | "name": "TitleStatusId", 22 | "purpose": "identifiedBy", 23 | "dataType": "integer", 24 | "displayName": "Title Status ID", 25 | "description": "The unique identifier of a Title Status." 26 | }, 27 | { 28 | "name": "TitleStatusName", 29 | "purpose": "hasA", 30 | "dataType": "string", 31 | "isNullable": true, 32 | "displayName": "Title Status Name", 33 | "description": "The name of a Title Status.", 34 | "maximumLength": 128 35 | }, 36 | { 37 | "name": "TitleStatusDescription", 38 | "purpose": "hasA", 39 | "dataType": "string", 40 | "isNullable": true, 41 | "displayName": "Title Status Description", 42 | "description": "The description of a Title Status.", 43 | "maximumLength": 512 44 | } 45 | ], 46 | "displayName": "TitleStatus", 47 | "description": "The status of the property title.\n\nEx:\n- Clear\n- Clouded\n- Unknown" 48 | } 49 | ] 50 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/PropertyLocationFunction.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "PropertyLocationFunction", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "PropertyLocationFunctionId", 15 | "purpose": "identifiedBy", 16 | "dataType": "integer", 17 | "displayName": "Property Location Function ID", 18 | "description": "The identifier of the Property Location Function." 19 | }, 20 | { 21 | "name": "PropertyLocationFunctionName", 22 | "purpose": "hasA", 23 | "dataType": "string", 24 | "isNullable": true, 25 | "displayName": "Property Location Function Name", 26 | "description": "The name of the Property Location Function.", 27 | "maximumLength": 128 28 | }, 29 | { 30 | "name": "PropertyLocationFunctionDescription", 31 | "purpose": "hasA", 32 | "dataType": "string", 33 | "isNullable": true, 34 | "displayName": "Property Location Function Description", 35 | "description": "The description of the Property Location Function.", 36 | "maximumLength": 512 37 | } 38 | ], 39 | "displayName": "Property Location Function", 40 | "description": "A description of the function performed by the associated Property Location.\n\nEx:\n- Retail Space\n- Commercial Space\n- Public\n- Administrative\n- Loading Dock\n- Information Desk" 41 | } 42 | ] 43 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/LeaseTerm.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "LeaseTerm", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "LeaseTermId", 15 | "purpose": "identifiedBy", 16 | "dataType": "integer", 17 | "displayName": "LeaseTermId", 18 | "description": "" 19 | }, 20 | { 21 | "name": "AverageTermYears", 22 | "purpose": "hasA", 23 | "dataType": "double", 24 | "isNullable": true, 25 | "displayName": "AverageTermYears", 26 | "description": "" 27 | }, 28 | { 29 | "name": "AverageRemainingYears", 30 | "purpose": "hasA", 31 | "dataType": "double", 32 | "isNullable": true, 33 | "displayName": "AverageRemainingYears", 34 | "description": "" 35 | }, 36 | { 37 | "name": "AverageMarketLeaseTermYears", 38 | "purpose": "hasA", 39 | "dataType": "double", 40 | "isNullable": true, 41 | "displayName": "AverageMarketLeaseTermYears", 42 | "description": "" 43 | }, 44 | { 45 | "name": "LeaseId", 46 | "purpose": "hasA", 47 | "dataType": "integer", 48 | "isNullable": true, 49 | "displayName": "LeaseId", 50 | "description": "" 51 | } 52 | ], 53 | "displayName": "LeaseTerm", 54 | "description": "" 55 | } 56 | ] 57 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/LeaseHold.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "LeaseHold", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "LeaseId", 15 | "purpose": "hasA", 16 | "dataType": "integer", 17 | "isNullable": true, 18 | "displayName": "LeaseId", 19 | "description": "" 20 | }, 21 | { 22 | "name": "LeaseholdId", 23 | "purpose": "identifiedBy", 24 | "dataType": "integer", 25 | "displayName": "LeaseholdId", 26 | "description": "" 27 | }, 28 | { 29 | "name": "LeaseholdStartDate", 30 | "purpose": "hasA", 31 | "dataType": "date", 32 | "isNullable": true, 33 | "displayName": "LeaseholdStartDate", 34 | "description": "" 35 | }, 36 | { 37 | "name": "LeaseholdEndDate", 38 | "purpose": "hasA", 39 | "dataType": "date", 40 | "isNullable": true, 41 | "displayName": "LeaseholdEndDate", 42 | "description": "" 43 | }, 44 | { 45 | "name": "Lessor", 46 | "purpose": "hasA", 47 | "dataType": "string", 48 | "isNullable": true, 49 | "displayName": "Lessor", 50 | "description": "" 51 | }, 52 | { 53 | "name": "Lessee", 54 | "purpose": "hasA", 55 | "dataType": "string", 56 | "isNullable": true, 57 | "displayName": "Lessee", 58 | "description": "" 59 | } 60 | ], 61 | "displayName": "LeaseHold", 62 | "description": "" 63 | } 64 | ] 65 | } -------------------------------------------------------------------------------- /AuditCDMV3/segmentListing.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "3.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "cdm:/foundations.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "segmentListing", 11 | "extendsEntity": "CdmEntity", 12 | "attributes": [ 13 | { 14 | "name": "segment0XDescription", 15 | "purpose": "hasA", 16 | "dataType": "string", 17 | "isNullable": false, 18 | "display_name": "segment0XDescription", 19 | "description": "Segment description to indicate the name of Segment 0X." 20 | }, 21 | { 22 | "name": "segment0XValue", 23 | "purpose": "hasA", 24 | "dataType": "string", 25 | "isNullable": false, 26 | "display_name": "segment0XValue", 27 | "description": "Value of Segment0X (X may equal 1 to 5)." 28 | }, 29 | { 30 | "name": "userDefined1", 31 | "purpose": "hasA", 32 | "dataType": "string", 33 | "isNullable": false, 34 | "display_name": "userDefined1", 35 | "description": "Having a function or role that is defined and gets varied from user to user." 36 | }, 37 | { 38 | "name": "userDefined2", 39 | "purpose": "hasA", 40 | "dataType": "string", 41 | "isNullable": false, 42 | "display_name": "userDefined2", 43 | "description": "Having a function or role that is defined and gets varied from user to user." 44 | } 45 | ] 46 | } 47 | ] 48 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/meanings.formats.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "$schema": "./schema.cdm.json", 4 | "imports": [ 5 | { 6 | "corpusPath": "/primitives.cdm.json" 7 | } 8 | ], 9 | "definitions": [ 10 | { 11 | "traitName": "means.formatting", 12 | "extendsTrait": "means" 13 | }, 14 | { 15 | "traitName": "means.formatting.color", 16 | "extendsTrait": "means.formatting" 17 | }, 18 | { 19 | "traitName": "means.formatting.font", 20 | "extendsTrait": "means.formatting" 21 | }, 22 | { 23 | "traitName": "means.formatting.font.size", 24 | "extendsTrait": "means.formatting.font" 25 | }, 26 | { 27 | "traitName": "means.formatting.font.effects", 28 | "extendsTrait": "means.formatting.font" 29 | }, 30 | { 31 | "traitName": "means.formatting.heading", 32 | "extendsTrait": "means.formatting" 33 | }, 34 | { 35 | "traitName": "means.formatting.order", 36 | "extendsTrait": "means.formatting" 37 | }, 38 | { 39 | "dataTypeName": "displayOrder", 40 | "extendsDataType": "integer", 41 | "exhibitsTraits": [ 42 | "means.formatting.order" 43 | ] 44 | }, 45 | { 46 | "explanation": "a JSON fragment contained within one string value", 47 | "dataTypeName": "json", 48 | "extendsDataType": "string", 49 | "exhibitsTraits": [ 50 | "means.content.text.JSON" 51 | ] 52 | }, 53 | { 54 | "explanation": "an XML fragment contained within one string value", 55 | "dataTypeName": "xml", 56 | "extendsDataType": "string", 57 | "exhibitsTraits": [ 58 | "means.content.text.XML" 59 | ] 60 | }, 61 | { 62 | "dataTypeName": "image", 63 | "extendsDataType": "binary", 64 | "exhibitsTraits": [ 65 | "means.content.binary.image" 66 | ] 67 | } 68 | ] 69 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/SaleInformationLandLease.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "SaleInformationLandLease", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "SaleInformationLandLeaseId", 15 | "purpose": "identifiedBy", 16 | "dataType": "integer", 17 | "displayName": "SaleInformationLandLeaseId", 18 | "description": "" 19 | }, 20 | { 21 | "name": "PropertyOnGroundLeaseIndicator", 22 | "purpose": "hasA", 23 | "dataType": "string", 24 | "isNullable": true, 25 | "displayName": "PropertyOnGroundLeaseIndicator", 26 | "description": "" 27 | }, 28 | { 29 | "name": "Lessor", 30 | "purpose": "hasA", 31 | "dataType": "string", 32 | "isNullable": true, 33 | "displayName": "Lessor", 34 | "description": "" 35 | }, 36 | { 37 | "name": "Lessee", 38 | "purpose": "hasA", 39 | "dataType": "string", 40 | "isNullable": true, 41 | "displayName": "Lessee", 42 | "description": "" 43 | }, 44 | { 45 | "name": "LesseeId", 46 | "purpose": "hasA", 47 | "dataType": "integer", 48 | "isNullable": true, 49 | "displayName": "LesseeId", 50 | "description": "" 51 | }, 52 | { 53 | "name": "ExpirationDate", 54 | "purpose": "hasA", 55 | "dataType": "date", 56 | "isNullable": true, 57 | "displayName": "ExpirationDate", 58 | "description": "" 59 | } 60 | ], 61 | "displayName": "SaleInformationLandLease", 62 | "description": "" 63 | } 64 | ] 65 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/SubjectType.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "SubjectType", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "SubjectTypeId", 15 | "purpose": "identifiedBy", 16 | "dataType": "integer", 17 | "displayName": "SubjectTypeId", 18 | "description": "" 19 | }, 20 | { 21 | "name": "SubjectTypePropertyPerUnitOfMeasure", 22 | "purpose": "hasA", 23 | "dataType": "string", 24 | "isNullable": true, 25 | "displayName": "SubjectTypePropertyPerUnitOfMeasure", 26 | "description": "" 27 | }, 28 | { 29 | "name": "SubjectTypeProperty", 30 | "purpose": "hasA", 31 | "dataType": "string", 32 | "isNullable": true, 33 | "displayName": "SubjectTypeProperty", 34 | "description": "" 35 | }, 36 | { 37 | "name": "SubjectPropertyTitleNumber", 38 | "purpose": "hasA", 39 | "dataType": "string", 40 | "isNullable": true, 41 | "displayName": "SubjectPropertyTitleNumber", 42 | "description": "" 43 | }, 44 | { 45 | "name": "SubjectProperty", 46 | "purpose": "hasA", 47 | "dataType": "string", 48 | "isNullable": true, 49 | "displayName": "SubjectProperty", 50 | "description": "" 51 | }, 52 | { 53 | "name": "PropertyId", 54 | "purpose": "hasA", 55 | "dataType": "integer", 56 | "isNullable": true, 57 | "displayName": "PropertyId", 58 | "description": "" 59 | } 60 | ], 61 | "displayName": "SubjectType", 62 | "description": "" 63 | } 64 | ] 65 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/GovernmentalBody.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "GovernmentalBody", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "ContractId", 15 | "purpose": "hasA", 16 | "dataType": "integer", 17 | "isNullable": true, 18 | "displayName": "ContractId", 19 | "description": "The unique identifier of a contract" 20 | }, 21 | { 22 | "name": "TransactionId", 23 | "purpose": "hasA", 24 | "dataType": "integer", 25 | "isNullable": true, 26 | "displayName": "TransactionId", 27 | "description": "" 28 | }, 29 | { 30 | "name": "GovernmentalBodyId", 31 | "purpose": "identifiedBy", 32 | "dataType": "integer", 33 | "displayName": "GovernmentalBodyId", 34 | "description": "The unique identifier of an Governmental Body." 35 | }, 36 | { 37 | "name": "GovBodyName", 38 | "purpose": "hasA", 39 | "dataType": "string", 40 | "isNullable": true, 41 | "displayName": "GovBodyName", 42 | "description": "" 43 | }, 44 | { 45 | "name": "GovBodyAddress", 46 | "purpose": "hasA", 47 | "dataType": "string", 48 | "isNullable": true, 49 | "displayName": "GovBodyAddress", 50 | "description": "" 51 | }, 52 | { 53 | "name": "GovBodyURL", 54 | "purpose": "hasA", 55 | "dataType": "string", 56 | "isNullable": true, 57 | "displayName": "GovBodyURL", 58 | "description": "" 59 | } 60 | ], 61 | "displayName": "GovernmentalBody", 62 | "description": "" 63 | } 64 | ] 65 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/LeaseholdImprovementType.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "LeaseholdImprovementType", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "PropertyId", 15 | "purpose": "hasA", 16 | "dataType": "integer", 17 | "displayName": "PropertyId", 18 | "description": "" 19 | }, 20 | { 21 | "name": "LeaseId", 22 | "purpose": "hasA", 23 | "dataType": "integer", 24 | "displayName": "LeaseId", 25 | "description": "" 26 | }, 27 | { 28 | "name": "LeaseholdImprovementTypeId", 29 | "purpose": "identifiedBy", 30 | "dataType": "integer", 31 | "displayName": "Leasehold Improvement Type ID", 32 | "description": "The unique identifier of a Leasehold Improvement Type." 33 | }, 34 | { 35 | "name": "LeaseholdImprovementTypeName", 36 | "purpose": "hasA", 37 | "dataType": "string", 38 | "isNullable": true, 39 | "displayName": "Leasehold Improvement Type Name", 40 | "description": "The name of a Leasehold Improvement Type.", 41 | "maximumLength": 128 42 | }, 43 | { 44 | "name": "LeaseholdImprovementTypeDescription", 45 | "purpose": "hasA", 46 | "dataType": "string", 47 | "isNullable": true, 48 | "displayName": "Leasehold Improvement Type Description", 49 | "description": "The description of a Leasehold Improvement Type.", 50 | "maximumLength": 512 51 | } 52 | ], 53 | "displayName": "LeaseholdImprovementType", 54 | "description": "A categorization of Leasehold Improvements based upon common characteristics of improvements.\n\nExamples:\n\n- Plumbing\n- Lighting\n- Exterior\n- Interior\n- Structural\n- Roofing" 55 | } 56 | ] 57 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/Address.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "Address", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "AddressId", 15 | "purpose": "identifiedBy", 16 | "dataType": "integer", 17 | "displayName": "AddressId", 18 | "description": "" 19 | }, 20 | { 21 | "name": "FlatNumber", 22 | "purpose": "hasA", 23 | "dataType": "double", 24 | "isNullable": true, 25 | "displayName": "FlatNumber", 26 | "description": "" 27 | }, 28 | { 29 | "name": "BuildingNumner", 30 | "purpose": "hasA", 31 | "dataType": "double", 32 | "isNullable": true, 33 | "displayName": "BuildingNumner", 34 | "description": "" 35 | }, 36 | { 37 | "name": "Streetnumber", 38 | "purpose": "hasA", 39 | "dataType": "double", 40 | "isNullable": true, 41 | "displayName": "Streetnumber", 42 | "description": "" 43 | }, 44 | { 45 | "name": "PostCode", 46 | "purpose": "hasA", 47 | "dataType": "string", 48 | "isNullable": true, 49 | "displayName": "PostCode", 50 | "description": "" 51 | }, 52 | { 53 | "name": "BuildingId", 54 | "purpose": "hasA", 55 | "dataType": "integer", 56 | "isNullable": true, 57 | "displayName": "BuildingId", 58 | "description": "" 59 | }, 60 | { 61 | "name": "PropertyId", 62 | "purpose": "hasA", 63 | "dataType": "integer", 64 | "isNullable": true, 65 | "displayName": "PropertyId", 66 | "description": "" 67 | } 68 | ], 69 | "displayName": "Address", 70 | "description": "" 71 | } 72 | ] 73 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/Utility.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "Utility", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "UtilityId", 15 | "purpose": "identifiedBy", 16 | "dataType": "integer", 17 | "displayName": "UtilityId", 18 | "description": "" 19 | }, 20 | { 21 | "name": "PropertyId", 22 | "purpose": "hasA", 23 | "dataType": "integer", 24 | "isNullable": true, 25 | "displayName": "PropertyId", 26 | "description": "" 27 | }, 28 | { 29 | "name": "TransactionId", 30 | "purpose": "hasA", 31 | "dataType": "integer", 32 | "isNullable": true, 33 | "displayName": "TransactionId", 34 | "description": "" 35 | }, 36 | { 37 | "name": "UtilityName", 38 | "purpose": "hasA", 39 | "dataType": "string", 40 | "isNullable": true, 41 | "displayName": "UtilityName", 42 | "description": "" 43 | }, 44 | { 45 | "name": "UtilityType", 46 | "purpose": "hasA", 47 | "dataType": "string", 48 | "isNullable": true, 49 | "displayName": "UtilityType", 50 | "description": "" 51 | }, 52 | { 53 | "name": "UtilityAddress", 54 | "purpose": "hasA", 55 | "dataType": "string", 56 | "isNullable": true, 57 | "displayName": "UtilityAddress", 58 | "description": "" 59 | }, 60 | { 61 | "name": "UtilityURL", 62 | "purpose": "hasA", 63 | "dataType": "string", 64 | "isNullable": true, 65 | "displayName": "UtilityURL", 66 | "description": "" 67 | } 68 | ], 69 | "displayName": "Utility", 70 | "description": "" 71 | } 72 | ] 73 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/ExtraordinaryRepairPartyRelationshipType.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "ExtraordinaryRepairPartyRelationshipType", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "RepairId", 15 | "purpose": "hasA", 16 | "dataType": "integer", 17 | "displayName": "RepairId", 18 | "description": "The unique identifier of a Repair.\n" 19 | }, 20 | { 21 | "name": "ExtraordinaryRepairPartyRelationshipTypeId", 22 | "purpose": "identifiedBy", 23 | "dataType": "integer", 24 | "displayName": "Extraordinary Repair Party Relationship Type ID", 25 | "description": "The unique identifier of a extraordinary repair party relationship type." 26 | }, 27 | { 28 | "name": "ExtraordinaryRepairPartyRelationshipTypeName", 29 | "purpose": "hasA", 30 | "dataType": "string", 31 | "isNullable": true, 32 | "displayName": "Extraordinary Repair Party Relationship Type Name", 33 | "description": "The name of a extraordinary repair party relationship type.", 34 | "maximumLength": 128 35 | }, 36 | { 37 | "name": "ExtraordinaryRepairPartyRelationshipTypeDescription", 38 | "purpose": "hasA", 39 | "dataType": "string", 40 | "isNullable": true, 41 | "displayName": "Extraordinary Repair Party Relationship Type Description", 42 | "description": "The description of a extraordinary repair party relationship type.", 43 | "maximumLength": 512 44 | } 45 | ], 46 | "displayName": "ExtraordinaryRepairPartyRelationshipType", 47 | "description": "The nature of the relationship between a party and the associated component extraordinary repair.\n\nEx:\n- Requested-by Party\n- Authorized-by Party\n- Performed-by Party\n- Billed-by Party\n- Billed-to Party" 48 | } 49 | ] 50 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/Component.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "Component", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "ComponentCertification", 15 | "purpose": "hasA", 16 | "dataType": "string", 17 | "isNullable": true, 18 | "displayName": "ComponentCertification", 19 | "description": "" 20 | }, 21 | { 22 | "name": "CompanentId", 23 | "purpose": "identifiedBy", 24 | "dataType": "integer", 25 | "displayName": "CompanentId", 26 | "description": "" 27 | }, 28 | { 29 | "name": "ComponentAssetType", 30 | "purpose": "hasA", 31 | "dataType": "string", 32 | "isNullable": true, 33 | "displayName": "ComponentAssetType", 34 | "description": "" 35 | }, 36 | { 37 | "name": "ComponentAssetList", 38 | "purpose": "hasA", 39 | "dataType": "string", 40 | "isNullable": true, 41 | "displayName": "ComponentAssetList", 42 | "description": "" 43 | }, 44 | { 45 | "name": "ComponentAsset", 46 | "purpose": "hasA", 47 | "dataType": "string", 48 | "isNullable": true, 49 | "displayName": "ComponentAsset", 50 | "description": "" 51 | }, 52 | { 53 | "name": "AssetId", 54 | "purpose": "hasA", 55 | "dataType": "integer", 56 | "isNullable": true, 57 | "displayName": "AssetId", 58 | "description": "" 59 | }, 60 | { 61 | "name": "PropertyId", 62 | "purpose": "hasA", 63 | "dataType": "integer", 64 | "isNullable": true, 65 | "displayName": "PropertyId", 66 | "description": "" 67 | } 68 | ], 69 | "displayName": "Component", 70 | "description": "" 71 | } 72 | ] 73 | } -------------------------------------------------------------------------------- /Archive/AuditCDM/bankAccountMasterData.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "cdm:/foundations.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "bankAccountMasterData", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "bankAccountId", 15 | "purpose": "identifiedBy", 16 | "dataType": "string", 17 | "displayName": "bankAccountId", 18 | "description": "Unambiguous identification of the account to which credit and debit entries are made." 19 | }, 20 | { 21 | "name": "bankAccountNumber", 22 | "purpose": "hasA", 23 | "dataType": "string", 24 | "isNullable": true, 25 | "displayName": "bankAccountNumber", 26 | "description": "The number allocated to the account by the individual’s or company’s own bank." 27 | }, 28 | { 29 | "name": "bankAccountSubType", 30 | "purpose": "hasA", 31 | "dataType": "string", 32 | "isNullable": true, 33 | "displayName": "bankAccountSubType", 34 | "description": "Specifies the sub type of account (product family group)." 35 | }, 36 | { 37 | "name": "bankAccountType", 38 | "purpose": "hasA", 39 | "dataType": "string", 40 | "isNullable": true, 41 | "displayName": "bankAccountType", 42 | "description": "Specifies the type of account (personal or business)." 43 | }, 44 | { 45 | "name": "bankSortCode", 46 | "purpose": "hasA", 47 | "dataType": "string", 48 | "isNullable": true, 49 | "displayName": "bankSortCode", 50 | "description": "The bank sort code" 51 | }, 52 | { 53 | "name": "IBAN", 54 | "purpose": "hasA", 55 | "dataType": "string", 56 | "isNullable": true, 57 | "displayName": "IBAN", 58 | "description": "The International Bank Account Number" 59 | } 60 | ], 61 | "displayName": "bankAccountMasterData", 62 | "description": "" 63 | } 64 | ] 65 | } -------------------------------------------------------------------------------- /AuditCDMV2/materialCost.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "2.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "cdm:/foundations.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "materialcost", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | [ 14 | { 15 | "name": "lotExpiration(ShelfLife)Control", 16 | "purpose": "hasA", 17 | "dataType": "string", 18 | "isNullable": true, 19 | "displayName": "lotExpiration(ShelfLife)Control", 20 | "description": "The amount of time that an item can reside in inventory before it expires." 21 | }, 22 | { 23 | "name": "shelfLifeDays", 24 | "purpose": "hasA", 25 | "dataType": "decimal", 26 | "isNullable": true, 27 | "displayName": "shelfLifeDays", 28 | "description": "Number of days the item will remain useable" 29 | }, 30 | { 31 | "name": "logisticsReponsibility", 32 | "purpose": "hasA", 33 | "dataType": "string", 34 | "isNullable": true, 35 | "displayName": "logisticsReponsibility", 36 | "description": "The personnel/department who is responsible for inwarding and outwarding " 37 | }, 38 | { 39 | "name": "fullfilmentMethod", 40 | "purpose": "hasA", 41 | "dataType": "string", 42 | "isNullable": true, 43 | "displayName": "fullfilmentMethod", 44 | "description": "Methods of fulfillment say shipping,dropship,packing and so on" 45 | } 46 | ] 47 | ], 48 | "displayName": "materialcost", 49 | "description": "" 50 | } 51 | ] 52 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/Unit.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "Unit", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "Unit", 15 | "purpose": "hasA", 16 | "dataType": "string", 17 | "isNullable": true, 18 | "displayName": "Unit", 19 | "description": " Links the Lease to a Unit. The unit that this lease relates to\n" 20 | }, 21 | { 22 | "name": "UnitId", 23 | "purpose": "identifiedBy", 24 | "dataType": "integer", 25 | "displayName": "UnitId", 26 | "description": "" 27 | }, 28 | { 29 | "name": "NumberOfLettableUnits", 30 | "purpose": "hasA", 31 | "dataType": "double", 32 | "isNullable": true, 33 | "displayName": "NumberOfLettableUnits", 34 | "description": "" 35 | }, 36 | { 37 | "name": "NumberOfVacantUnits", 38 | "purpose": "hasA", 39 | "dataType": "double", 40 | "isNullable": true, 41 | "displayName": "NumberOfVacantUnits", 42 | "description": "" 43 | }, 44 | { 45 | "name": "NumberOfUnits", 46 | "purpose": "hasA", 47 | "dataType": "double", 48 | "isNullable": true, 49 | "displayName": "NumberOfUnits", 50 | "description": "" 51 | }, 52 | { 53 | "name": "NumberOfSocialResidentialUnits", 54 | "purpose": "hasA", 55 | "dataType": "double", 56 | "isNullable": true, 57 | "displayName": "NumberOfSocialResidentialUnits", 58 | "description": "" 59 | }, 60 | { 61 | "name": "NumberOfResidentialLetUnits", 62 | "purpose": "hasA", 63 | "dataType": "double", 64 | "isNullable": true, 65 | "displayName": "NumberOfResidentialLetUnits", 66 | "description": "" 67 | } 68 | ], 69 | "displayName": "Unit", 70 | "description": "" 71 | } 72 | ] 73 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/meanings.demographics.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "$schema": "./schema.cdm.json", 4 | "imports": [ 5 | { 6 | "corpusPath": "/primitives.cdm.json" 7 | }, 8 | { 9 | "corpusPath": "/meanings.measurement.cdm.json" 10 | } 11 | ], 12 | "definitions": [ 13 | { 14 | "traitName": "means.demographic", 15 | "extendsTrait": "means" 16 | }, 17 | { 18 | "traitName": "means.demographic.age", 19 | "extendsTrait": "means.demographic" 20 | }, 21 | { 22 | "traitName": "means.demographic.gender", 23 | "extendsTrait": "means.demographic" 24 | }, 25 | { 26 | "traitName": "means.demographic.ethnicity", 27 | "extendsTrait": "means.demographic" 28 | }, 29 | { 30 | "traitName": "means.demographic.maritalStatus", 31 | "extendsTrait": "means.demographic" 32 | }, 33 | { 34 | "traitName": "means.demographic.birthDate", 35 | "extendsTrait": "means.demographic" 36 | }, 37 | { 38 | "traitName": "means.demographic.income", 39 | "extendsTrait": "means.demographic" 40 | }, 41 | { 42 | "traitName": "means.demographic.education", 43 | "extendsTrait": "means.demographic" 44 | }, 45 | { 46 | "dataTypeName": "age", 47 | "extendsDataType": "integer", 48 | "exhibitsTraits": [ 49 | "means.demographic.age", 50 | "means.measurement.age" 51 | ] 52 | }, 53 | { 54 | "dataTypeName": "birthDate", 55 | "extendsDataType": "dateTime", 56 | "exhibitsTraits": [ 57 | "means.demographic.birthDate" 58 | ] 59 | }, 60 | { 61 | "dataTypeName": "gender", 62 | "extendsDataType": "string", 63 | "exhibitsTraits": [ 64 | "means.demographic.gender" 65 | ] 66 | }, 67 | { 68 | "dataTypeName": "ethnicity", 69 | "extendsDataType": "string", 70 | "exhibitsTraits": [ 71 | "means.demographic.ethnicity" 72 | ] 73 | }, 74 | { 75 | "dataTypeName": "maritalStatus", 76 | "extendsDataType": "string", 77 | "exhibitsTraits": [ 78 | "means.demographic.maritalStatus" 79 | ] 80 | } 81 | ] 82 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/RelatedProperty.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "RelatedProperty", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "PropertyId", 15 | "purpose": "identifiedBy", 16 | "dataType": "integer", 17 | "displayName": "Property ID", 18 | "description": "The unique identifier of a Property." 19 | }, 20 | { 21 | "name": "RelatedPropertyId", 22 | "purpose": "identifiedBy", 23 | "dataType": "integer", 24 | "displayName": "Related Property ID", 25 | "description": "The unique identifier of a Property." 26 | }, 27 | { 28 | "name": "PropertyRelationshipTypeId", 29 | "purpose": "identifiedBy", 30 | "dataType": "integer", 31 | "displayName": "Property Relationship Type ID", 32 | "description": "The unique identifier of a Property Relationship Type." 33 | }, 34 | { 35 | "name": "PeriodStartTimestamp", 36 | "purpose": "identifiedBy", 37 | "dataType": "dateTime", 38 | "displayName": "Period Start Timestamp", 39 | "description": "The period start timestamp for which the property relationship exists." 40 | }, 41 | { 42 | "name": "PeriodEndTimestamp", 43 | "purpose": "hasA", 44 | "dataType": "dateTime", 45 | "isNullable": true, 46 | "displayName": "Period End Timestamp", 47 | "description": "The period end timestamp for which the property relationship exists." 48 | }, 49 | { 50 | "name": "PropertyRelationshipNote", 51 | "purpose": "hasA", 52 | "dataType": "string", 53 | "isNullable": true, 54 | "displayName": "Property Relationship Note", 55 | "description": "A note, comment or additional information regarding the property relationship.", 56 | "maximumLength": 1024 57 | } 58 | ], 59 | "displayName": "Related Property", 60 | "description": "The relationship between two Properties." 61 | } 62 | ] 63 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/Parking.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "Parking", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "ParkingId", 15 | "purpose": "identifiedBy", 16 | "dataType": "integer", 17 | "displayName": "ParkingId", 18 | "description": "" 19 | }, 20 | { 21 | "name": "ParkingDescription", 22 | "purpose": "hasA", 23 | "dataType": "string", 24 | "isNullable": true, 25 | "displayName": "ParkingDescription", 26 | "description": "" 27 | }, 28 | { 29 | "name": "Type", 30 | "purpose": "hasA", 31 | "dataType": "string", 32 | "isNullable": true, 33 | "displayName": "Type", 34 | "description": "" 35 | }, 36 | { 37 | "name": "LocationId", 38 | "purpose": "hasA", 39 | "dataType": "integer", 40 | "isNullable": true, 41 | "displayName": "LocationId", 42 | "description": "" 43 | }, 44 | { 45 | "name": "ParkingCodition", 46 | "purpose": "hasA", 47 | "dataType": "string", 48 | "isNullable": true, 49 | "displayName": "ParkingCodition", 50 | "description": "" 51 | }, 52 | { 53 | "name": "ParkingRatio", 54 | "purpose": "hasA", 55 | "dataType": "string", 56 | "isNullable": true, 57 | "displayName": "ParkingRatio", 58 | "description": "" 59 | }, 60 | { 61 | "name": "CarParkingRights", 62 | "purpose": "hasA", 63 | "dataType": "string", 64 | "isNullable": true, 65 | "displayName": "CarParkingRights", 66 | "description": "" 67 | }, 68 | { 69 | "name": "BuildingId", 70 | "purpose": "hasA", 71 | "dataType": "integer", 72 | "isNullable": true, 73 | "displayName": "BuildingId", 74 | "description": "" 75 | } 76 | ], 77 | "displayName": "Parking", 78 | "description": "" 79 | } 80 | ] 81 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/AlterationType.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "AlterationType", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "AlterationTypeId", 15 | "purpose": "identifiedBy", 16 | "dataType": "integer", 17 | "displayName": "AlterationTypeId", 18 | "description": "" 19 | }, 20 | { 21 | "name": "Alterations", 22 | "purpose": "hasA", 23 | "dataType": "string", 24 | "isNullable": true, 25 | "displayName": "Alterations", 26 | "description": " Describes provisions in a lease relating to the tenant's ability to alter the premises demised (i.e. leased to it).\n" 27 | }, 28 | { 29 | "name": "AlterationTypeName", 30 | "purpose": "hasA", 31 | "dataType": "string", 32 | "isNullable": true, 33 | "displayName": "AlterationTypeName", 34 | "description": "The name of an Alteration Type.\n", 35 | "maximumLength": 128 36 | }, 37 | { 38 | "name": "AlterationTypeDescription", 39 | "purpose": "hasA", 40 | "dataType": "string", 41 | "isNullable": true, 42 | "displayName": "AlterationTypeDescription", 43 | "description": "The description of an Alteration Type.\n", 44 | "maximumLength": 512 45 | }, 46 | { 47 | "name": "YearLastRenovatedDate", 48 | "purpose": "hasA", 49 | "dataType": "date", 50 | "isNullable": true, 51 | "displayName": "YearLastRenovatedDate", 52 | "description": "" 53 | }, 54 | { 55 | "name": "RepairId", 56 | "purpose": "hasA", 57 | "dataType": "integer", 58 | "isNullable": true, 59 | "displayName": "RepairId", 60 | "description": "The unique identifier of a Repair.\n" 61 | }, 62 | { 63 | "name": "PropertyId", 64 | "purpose": "identifiedBy", 65 | "dataType": "integer", 66 | "displayName": "PropertyId", 67 | "description": "" 68 | } 69 | ], 70 | "displayName": "AlterationType", 71 | "description": "" 72 | } 73 | ] 74 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | .DS_Store 6 | # C extensions 7 | *.so 8 | 9 | # Distribution / packaging 10 | .Python 11 | build/ 12 | develop-eggs/ 13 | dist/ 14 | downloads/ 15 | eggs/ 16 | .eggs/ 17 | lib/ 18 | lib64/ 19 | parts/ 20 | sdist/ 21 | var/ 22 | wheels/ 23 | share/python-wheels/ 24 | *.egg-info/ 25 | .installed.cfg 26 | *.egg 27 | 28 | # PyInstaller 29 | # Usually these files are written by a python script from a template 30 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 31 | *.manifest 32 | *.spec 33 | 34 | # Installer logs 35 | pip-log.txt 36 | pip-delete-this-directory.txt 37 | 38 | # Unit test / coverage reports 39 | htmlcov/ 40 | .tox/ 41 | .nox/ 42 | .coverage 43 | .coverage.* 44 | .cache 45 | nosetests.xml 46 | coverage.xml 47 | *.cover 48 | *.py,cover 49 | .hypothesis/ 50 | .pytest_cache/ 51 | cover/ 52 | 53 | # Translations 54 | *.mo 55 | *.pot 56 | 57 | # Django stuff: 58 | *.log 59 | local_settings.py 60 | db.sqlite3 61 | db.sqlite3-journal 62 | 63 | # Flask stuff: 64 | instance/ 65 | .webassets-cache 66 | 67 | # Scrapy stuff: 68 | .scrapy 69 | 70 | # Sphinx documentation 71 | docs/_build/ 72 | 73 | # PyBuilder 74 | target/ 75 | 76 | # Jupyter Notebook 77 | .ipynb_checkpoints 78 | 79 | # IPython 80 | profile_default/ 81 | ipython_config.py 82 | 83 | # pyenv 84 | .python-version 85 | 86 | # pipenv 87 | # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. 88 | # However, in case of collaboration, if having platform-specific dependencies or dependencies 89 | # having no cross-platform support, pipenv may install dependencies that don't work, or not 90 | # install all needed dependencies. 91 | Pipfile.lock 92 | 93 | # PEP 582; used by e.g. github.com/David-OConnor/pyflow 94 | __pypackages__/ 95 | 96 | # Celery stuff 97 | celerybeat-schedule 98 | celerybeat.pid 99 | 100 | # SageMath parsed files 101 | *.sage.py 102 | 103 | # Environments 104 | .env 105 | .venv 106 | env/ 107 | venv/ 108 | ENV/ 109 | env.bak/ 110 | venv.bak/ 111 | 112 | # Spyder project settings 113 | .spyderproject 114 | .spyderworkspace 115 | 116 | # Rope project settings 117 | .ropeproject 118 | 119 | # mkdocs documentation 120 | /site 121 | 122 | # mypy 123 | .mypy_cache/ 124 | .dmypy.json 125 | dmypy.json 126 | 127 | # Pyre type checker 128 | .pyre/ 129 | 130 | # pytype static type analyzer 131 | .pytype/ 132 | 133 | # Cython debug symbols 134 | cython_debug/ -------------------------------------------------------------------------------- /PropertyLegalCDM/LeaseholdNotices.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "LeaseholdNotices", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "LeaseId", 15 | "purpose": "hasA", 16 | "dataType": "integer", 17 | "isNullable": true, 18 | "displayName": "LeaseId", 19 | "description": "" 20 | }, 21 | { 22 | "name": "LeaseholdNoticesId", 23 | "purpose": "identifiedBy", 24 | "dataType": "integer", 25 | "displayName": "LeaseholdNoticesId", 26 | "description": "" 27 | }, 28 | { 29 | "name": "LandlordSellingNoticeDocumentStatus", 30 | "purpose": "hasA", 31 | "dataType": "string", 32 | "isNullable": true, 33 | "displayName": "LandlordSellingNoticeDocumentStatus", 34 | "description": "" 35 | }, 36 | { 37 | "name": "OtherNoticeDocumentStatus", 38 | "purpose": "hasA", 39 | "dataType": "string", 40 | "isNullable": true, 41 | "displayName": "OtherNoticeDocumentStatus", 42 | "description": "" 43 | }, 44 | { 45 | "name": "LandlordSellingNoticeIndicator", 46 | "purpose": "hasA", 47 | "dataType": "boolean", 48 | "isNullable": true, 49 | "displayName": "LandlordSellingNoticeIndicator", 50 | "description": "" 51 | }, 52 | { 53 | "name": "OtherNoticeIndicator", 54 | "purpose": "hasA", 55 | "dataType": "boolean", 56 | "isNullable": true, 57 | "displayName": "OtherNoticeIndicator", 58 | "description": "" 59 | }, 60 | { 61 | "name": "Attachment", 62 | "purpose": "hasA", 63 | "dataType": "string", 64 | "isNullable": true, 65 | "displayName": "Attachment", 66 | "description": "A file attachment (by inclusion or via a link) with associated metadata\n" 67 | }, 68 | { 69 | "name": "AttachmentId", 70 | "purpose": "hasA", 71 | "dataType": "integer", 72 | "isNullable": true, 73 | "displayName": "AttachmentId", 74 | "description": "" 75 | } 76 | ], 77 | "displayName": "LeaseholdNotices", 78 | "description": "" 79 | } 80 | ] 81 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/PropertyLocationPartyContract.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "PropertyLocationPartyContract", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "AssetId", 15 | "purpose": "identifiedBy", 16 | "dataType": "integer", 17 | "displayName": "Asset ID", 18 | "description": "The unique identifier of an Asset." 19 | }, 20 | { 21 | "name": "ContractId", 22 | "purpose": "identifiedBy", 23 | "dataType": "integer", 24 | "displayName": "Contract ID", 25 | "description": "The unique identifier of a Contract." 26 | }, 27 | { 28 | "name": "PropertyId", 29 | "purpose": "identifiedBy", 30 | "dataType": "integer", 31 | "displayName": "Property ID", 32 | "description": "The unique identifier of a Property." 33 | }, 34 | { 35 | "name": "PropertyLocationId", 36 | "purpose": "identifiedBy", 37 | "dataType": "integer", 38 | "displayName": "Property Location ID", 39 | "description": "The unique identifier of a Property Location." 40 | }, 41 | { 42 | "name": "PartyId", 43 | "purpose": "identifiedBy", 44 | "dataType": "integer", 45 | "displayName": "Party ID", 46 | "description": "The unique identifier of a Party." 47 | }, 48 | { 49 | "name": "PeriodStartDate", 50 | "purpose": "identifiedBy", 51 | "dataType": "date", 52 | "displayName": "Period Start Date", 53 | "description": "The period start date that the party had an interest in the property location." 54 | }, 55 | { 56 | "name": "AssetContractNote", 57 | "purpose": "hasA", 58 | "dataType": "string", 59 | "isNullable": true, 60 | "displayName": "Asset Contract Note", 61 | "description": "A note, comment or additional information regarding the asset contract.", 62 | "maximumLength": 1024 63 | } 64 | ], 65 | "displayName": "Property Location Party Contract", 66 | "description": "The one or more contracts that address the associated property location party relationship and define the terms, conditions and legal relationship of parties in regard to that property location." 67 | } 68 | ] 69 | } -------------------------------------------------------------------------------- /Archive/AuditCDM/sourceListing.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "cdm:/foundations.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "sourceListing", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "businessProcessMajor", 15 | "purpose": "hasA", 16 | "dataType": "string", 17 | "isNullable": true, 18 | "displayName": "businessProcessMajor", 19 | "description": "The major class of transaction associated\nwith a business process (for example,\nsales)." 20 | }, 21 | { 22 | "name": "businessProcessMinor", 23 | "purpose": "hasA", 24 | "dataType": "string", 25 | "isNullable": true, 26 | "displayName": "businessProcessMinor", 27 | "description": "A subprocess of the major business\nprocess (for example‚Äîorders, returns,\ndiscounts, and so on)." 28 | }, 29 | { 30 | "name": "erpSubledgerModule", 31 | "purpose": "hasA", 32 | "dataType": "string", 33 | "isNullable": true, 34 | "displayName": "erpSubledgerModule", 35 | "description": "Description of the subledger or ERP module the journal entry originated from. Should tie back to a system or significant accounting process. In some instances, may be represented by source." 36 | }, 37 | { 38 | "name": "sourceDescription", 39 | "purpose": "hasA", 40 | "dataType": "string", 41 | "isNullable": true, 42 | "displayName": "sourceDescription", 43 | "description": "A plain English description of the source. Some of the more common journals are purchases, sales, cash receipts, cash disbursements, and general journal." 44 | }, 45 | { 46 | "name": "sourceId", 47 | "purpose": "identifiedBy", 48 | "dataType": "string", 49 | "displayName": "sourceId", 50 | "description": "Posting source (code for source from which the journal entry originated, such as sales journal, cash receipts journal, general journal, payroll journal, accountant manual entry, spreadsheet, and so on)." 51 | }, 52 | { 53 | "name": "systemManualIdentifier", 54 | "purpose": "hasA", 55 | "dataType": "string", 56 | "isNullable": true, 57 | "displayName": "systemManualIdentifier", 58 | "description": "Define if the source creates system-generated or manually entered journal entries" 59 | } 60 | ], 61 | "displayName": "sourceListing", 62 | "description": "" 63 | } 64 | ] 65 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # EngineB-CDM 2 | 3 | EngineB Audit, Tax and Property Common Data Models 4 | 5 | **Common Data Model** 6 | 7 | A Common Data Model provides shared data language for business and analytical applications to use. The Common Data Model allows apps to integrate and share data with each other without the need for sizable, custom integration - providing a centralised point where systems can come together and connect, thus sharing information which was once divided by a digital language barrier. 8 | 9 | These Common Data Models are dynamic and we will continue to update them as new use cases are developed, with further versions of each added to this site as released. 10 | 11 | **Audit CDM v2.0** 12 | The Audit CDM provides the ability to integrate and share data across various accounting and audit platforms – providing a transparency of information and key concepts. 13 | 14 | Release notes for v2.0: 15 | 16 | 1. All dates updated to DateTime format 17 | 2. Blank descriptions filled 18 | 3. Descriptions edited for accuracy 19 | 4. Fields added to retain consistency with AICPA model 20 | 5. New entities added to incorporate accounts payables and receivables listings and customer/supplier balances 21 | 22 | **Audit CDM v1.2** 23 | 24 | The Audit CDM provides the ability to integrate and share data across various accounting and audit platforms – providing a transparency of information and key concepts. Engine B has successfully mapped accounting and audit entities of structured and unstructured data from multiple platforms providing the basis for key analysis to help determine inconsistencies and for visual representation - examples include anomaly detection and knowledge graphs respectively. 25 | Updated the Audit CDM to include the Data Dictionary for the entities. 26 | 27 | **Tax CDM v1.0** 28 | 29 | The Tax CDM is similar to the Audit CDM but has been created for usage across tax based platforms. Engine B worked with tax experts to map the entities relevant for further analytical work on tax use cases. 30 | 31 | **Property/Real Estate CDM v1.0** 32 | 33 | This Common Data Model is for use cases that involve the concept of a property or real estate. Engine B worked alongside the University of Birmingham Law School, OSCRE and SALI in the development of this data model. We aim to further develop this CDM over the coming months to take account for entities relevant to use cases beyond the predominantly legal-property based ones to date. 34 | 35 | **CDM Schema Visualiser** 36 | 37 | In order to view the CDM in a Navigator, please download the relevant CDM folder and click on the below URL and click on Load from files to point out the manifest file from AuditCDM folder. It would then open the CDM Entities and Attributes with thier Properties. 38 | 39 | https://microsoft.github.io/CDM/SchemaViz.html? 40 | -------------------------------------------------------------------------------- /PropertyLegalCDM/RegisteredProprietor.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "RegisteredProprietor", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "RegisteredProprietorId", 15 | "purpose": "identifiedBy", 16 | "dataType": "integer", 17 | "displayName": "RegisteredProprietorId", 18 | "description": "The unique identifier of the registered proproetor.\n" 19 | }, 20 | { 21 | "name": "PropertyId", 22 | "purpose": "hasA", 23 | "dataType": "integer", 24 | "isNullable": true, 25 | "displayName": "PropertyId", 26 | "description": "The unique identifier of a Property.\n" 27 | }, 28 | { 29 | "name": "TransactionId", 30 | "purpose": "hasA", 31 | "dataType": "integer", 32 | "isNullable": true, 33 | "displayName": "TransactionId", 34 | "description": "" 35 | }, 36 | { 37 | "name": "DirectorFirstName", 38 | "purpose": "hasA", 39 | "dataType": "string", 40 | "isNullable": true, 41 | "displayName": "DirectorFirstName", 42 | "description": "" 43 | }, 44 | { 45 | "name": "DirectorLastName", 46 | "purpose": "hasA", 47 | "dataType": "string", 48 | "isNullable": true, 49 | "displayName": "DirectorLastName", 50 | "description": "" 51 | }, 52 | { 53 | "name": "CompanyId", 54 | "purpose": "hasA", 55 | "dataType": "integer", 56 | "isNullable": true, 57 | "displayName": "CompanyId", 58 | "description": "" 59 | }, 60 | { 61 | "name": "CompanyName", 62 | "purpose": "hasA", 63 | "dataType": "string", 64 | "isNullable": true, 65 | "displayName": "CompanyName", 66 | "description": "" 67 | }, 68 | { 69 | "name": "AddrForService", 70 | "purpose": "hasA", 71 | "dataType": "string", 72 | "isNullable": true, 73 | "displayName": "AddrForService", 74 | "description": "" 75 | }, 76 | { 77 | "name": "CompayURL", 78 | "purpose": "hasA", 79 | "dataType": "string", 80 | "isNullable": true, 81 | "displayName": "CompayURL", 82 | "description": "" 83 | } 84 | ], 85 | "displayName": "RegisteredProprietor", 86 | "description": "" 87 | } 88 | ] 89 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/Water.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "Water", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "WaterManagmentId", 15 | "purpose": "identifiedBy", 16 | "dataType": "integer", 17 | "displayName": "WaterManagmentId", 18 | "description": "" 19 | }, 20 | { 21 | "name": "PropertyId", 22 | "purpose": "hasA", 23 | "dataType": "integer", 24 | "isNullable": true, 25 | "displayName": "PropertyId", 26 | "description": "" 27 | }, 28 | { 29 | "name": "ExternallyRecycledPercent", 30 | "purpose": "hasA", 31 | "dataType": "double", 32 | "isNullable": true, 33 | "displayName": "ExternallyRecycledPercent", 34 | "description": "Percentage of recycled water used by the property, during the period. Includes externally supplied recycled water sources\n" 35 | }, 36 | { 37 | "name": "RecyclingIndicator", 38 | "purpose": "hasA", 39 | "dataType": "boolean", 40 | "isNullable": true, 41 | "displayName": "RecyclingIndicator", 42 | "description": "Is there water recycling in place? Includes all recycled rain and snow water collected after falling on the building; or waste water produced from baths, sinks, showers, clothers washers, dishwashers, lavatories.\n" 43 | }, 44 | { 45 | "name": "EfficientFittingsIndicator", 46 | "purpose": "hasA", 47 | "dataType": "boolean", 48 | "isNullable": true, 49 | "displayName": "EfficientFittingsIndicator", 50 | "description": "Are there any water efficient fittings in place? Includes low flow taps or showers; dual flush toilets; push or passive infrared taps.\n" 51 | }, 52 | { 53 | "name": "TotalUsageAmount", 54 | "purpose": "hasA", 55 | "dataType": "decimal", 56 | "isNullable": true, 57 | "displayName": "TotalUsageAmount", 58 | "description": "Total water usage in m3\n" 59 | }, 60 | { 61 | "name": "MeteringIndicator", 62 | "purpose": "hasA", 63 | "dataType": "boolean", 64 | "isNullable": true, 65 | "displayName": "MeteringIndicator", 66 | "description": "Is there water metering in place for the whole building? Metering can allow for improved water monitoring; management and targets.\n" 67 | } 68 | ], 69 | "displayName": "Water", 70 | "description": "" 71 | } 72 | ] 73 | } -------------------------------------------------------------------------------- /src/convert_to_eb.py: -------------------------------------------------------------------------------- 1 | import os 2 | import json 3 | import pandas as pd 4 | 5 | CDM_VERSION = "3.0" # <-- change version here 6 | ROOT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 7 | 8 | 9 | with open("data/standards.json", "r") as f: 10 | standards = json.load(f) 11 | standards = standards["standards"] 12 | 13 | with open("data/entity.json", "r") as f: 14 | entities = json.load(f) 15 | entities = entities["entities"] 16 | 17 | 18 | 19 | file_name = f"CDM {CDM_VERSION}.xlsx" 20 | file_path = os.path.join(ROOT_DIR, file_name) 21 | 22 | df = pd.read_excel(file_path, sheet_name=f"CDM {CDM_VERSION}") 23 | if "Mandatory?" not in df.columns: 24 | df["Mandatory?"] = "N" 25 | df = df[ 26 | [ 27 | "enginebStandard", 28 | "enginebEntity", 29 | "enginebAttribute", 30 | "MS_DataType", 31 | "Description", 32 | "Mandatory?", 33 | ] 34 | ] 35 | df["Mandatory?"] = df["Mandatory?"].fillna("N") 36 | eb_cdm = { 37 | "version": CDM_VERSION, 38 | "standards": [] 39 | } 40 | 41 | for standard in df.enginebStandard.unique(): 42 | standard_object = next(filter(lambda x: x["abbreviation"] == standard, standards)) 43 | standard_object = standard_object if standard_object is not None else { 44 | "name": standard, 45 | "abbreviation": standard, 46 | } 47 | standard_object["entities"] = [] 48 | standard_df = df[df.enginebStandard == standard] 49 | for entity in standard_df.enginebEntity.unique(): 50 | entity_object = list(filter(lambda x: x["name"] == entity if entity != 'chartOfAccounts' else 'ChartOfAccounts', entities)) 51 | entity_object = entity_object[0] if len(entity_object) > 0 else { 52 | "display_name": entity, 53 | "name": entity, 54 | } 55 | entity_df = standard_df[standard_df.enginebEntity == entity] 56 | entity_df = entity_df[ 57 | [ 58 | "enginebAttribute", 59 | "MS_DataType", 60 | "Description", 61 | "Mandatory?", 62 | ] 63 | ] 64 | entity_df.columns = ["name", "data_type", "description", "mandatory"] 65 | entity_df = entity_df[["name", "description", "data_type", "mandatory"]] 66 | entity_df["mandatory"] = entity_df.apply( 67 | lambda x: True if x["mandatory"] == "Y" else False, axis=1 68 | ) 69 | entity_df.fillna("", inplace=True) 70 | attributes = entity_df.to_dict(orient="records") 71 | entity_object["attributes"] = attributes 72 | standard_object["entities"].append(entity_object) 73 | eb_cdm["standards"].append(standard_object) 74 | 75 | output_file_name = file_name.replace(".xlsx", "").replace(" ", "_").replace(".", "_").lower() + ".json" 76 | output_file_path = os.path.join(ROOT_DIR, "src", "output", output_file_name) 77 | 78 | with open(output_file_path, "w") as f: 79 | json.dump(eb_cdm, f, indent=4) 80 | -------------------------------------------------------------------------------- /Archive/AuditCDM/resolved/segmentListing.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "/segmentListing.cdm.json", 6 | "moniker": "resolvedFrom" 7 | } 8 | ], 9 | "definitions": [ 10 | { 11 | "entityName": "segmentListing", 12 | "attributeContext": { 13 | "type": "entity", 14 | "name": "segmentListing", 15 | "definition": "resolvedFrom/segmentListing", 16 | "contents": [ 17 | { 18 | "type": "entityReferenceExtends", 19 | "name": "extends", 20 | "parent": "segmentListing/attributeContext/segmentListing", 21 | "contents": [ 22 | { 23 | "type": "entity", 24 | "name": "CdmEntity", 25 | "parent": "segmentListing/attributeContext/segmentListing/extends", 26 | "definition": "resolvedFrom/CdmEntity" 27 | } 28 | ] 29 | }, 30 | { 31 | "type": "attributeDefinition", 32 | "name": "segment0XDescription", 33 | "parent": "segmentListing/attributeContext/segmentListing", 34 | "definition": "resolvedFrom/segmentListing/hasAttributes/segment0XDescription", 35 | "contents": [ 36 | "segmentListing/hasAttributes/segment0XDescription" 37 | ] 38 | }, 39 | { 40 | "type": "attributeDefinition", 41 | "name": "segment0XValue", 42 | "parent": "segmentListing/attributeContext/segmentListing", 43 | "definition": "resolvedFrom/segmentListing/hasAttributes/segment0XValue", 44 | "contents": [ 45 | "segmentListing/hasAttributes/segment0XValue" 46 | ] 47 | } 48 | ] 49 | }, 50 | "hasAttributes": [ 51 | { 52 | "name": "segment0XDescription", 53 | "appliedTraits": [ 54 | "is.dataFormat.character", 55 | "is.dataFormat.big", 56 | "is.dataFormat.array" 57 | ], 58 | "attributeContext": "segmentListing/attributeContext/segmentListing/segment0XDescription", 59 | "isNullable": true, 60 | "dataFormat": "String", 61 | "displayName": "segment0XDescription", 62 | "description": "" 63 | }, 64 | { 65 | "name": "segment0XValue", 66 | "appliedTraits": [ 67 | "is.dataFormat.character", 68 | "is.dataFormat.big", 69 | "is.dataFormat.array" 70 | ], 71 | "attributeContext": "segmentListing/attributeContext/segmentListing/segment0XValue", 72 | "isPrimaryKey": true, 73 | "dataFormat": "String", 74 | "displayName": "segment0XValue", 75 | "description": "Value of Segment0X (X may equal 1 to 5)." 76 | } 77 | ], 78 | "displayName": "segmentListing", 79 | "description": "", 80 | "version": "1.0" 81 | } 82 | ] 83 | } -------------------------------------------------------------------------------- /AuditCDMV2/bankAccountMasterData.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "2.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "cdm:/foundations.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "bankAccountMasterData", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | [ 14 | { 15 | "name": "bankAccountId", 16 | "purpose": "identifiedBy", 17 | "dataType": "string", 18 | "isNullable": false, 19 | "displayName": "bankAccountId", 20 | "description": "Unambiguous identification of the account to which credit and debit entries are made." 21 | }, 22 | { 23 | "name": "bankAccountNumber", 24 | "purpose": "hasA", 25 | "dataType": "string", 26 | "isNullable": true, 27 | "displayName": "bankAccountNumber", 28 | "description": "The number allocated to the account by the individual's or company's own bank." 29 | }, 30 | { 31 | "name": "bankAccountSubType", 32 | "purpose": "hasA", 33 | "dataType": "string", 34 | "isNullable": true, 35 | "displayName": "bankAccountSubType", 36 | "description": "Specifies the sub type of account (product family group)." 37 | }, 38 | { 39 | "name": "bankAccountType", 40 | "purpose": "hasA", 41 | "dataType": "string", 42 | "isNullable": true, 43 | "displayName": "bankAccountType", 44 | "description": "Specifies the type of account (personal or business)." 45 | }, 46 | { 47 | "name": "bankSortCode", 48 | "purpose": "hasA", 49 | "dataType": "integer", 50 | "isNullable": true, 51 | "displayName": "bankSortCode", 52 | "description": "The bank sort code" 53 | }, 54 | { 55 | "name": "IBAN", 56 | "purpose": "hasA", 57 | "dataType": "string", 58 | "isNullable": true, 59 | "displayName": "IBAN", 60 | "description": "The International Bank Account Number" 61 | } 62 | ] 63 | ], 64 | "displayName": "bankAccountMasterData", 65 | "description": "" 66 | } 67 | ] 68 | } -------------------------------------------------------------------------------- /Archive/AuditCDM/userListing.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "cdm:/foundations.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "UserListing", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "department", 15 | "purpose": "hasA", 16 | "dataType": "string", 17 | "isNullable": true, 18 | "displayName": "department", 19 | "description": "The department the person is part of (for example, accounting)." 20 | }, 21 | { 22 | "name": "firstName", 23 | "purpose": "hasA", 24 | "dataType": "string", 25 | "isNullable": true, 26 | "displayName": "firstName", 27 | "description": "The first (given) name of the person." 28 | }, 29 | { 30 | "name": "lastName", 31 | "purpose": "hasA", 32 | "dataType": "string", 33 | "isNullable": true, 34 | "displayName": "lastName", 35 | "description": "The last (family) name of the person." 36 | }, 37 | { 38 | "name": "roleResponsibility", 39 | "purpose": "hasA", 40 | "dataType": "string", 41 | "isNullable": true, 42 | "displayName": "roleResponsibility", 43 | "description": "The person’s functional role or primary responsibility (for example, accounts payable)." 44 | }, 45 | { 46 | "name": "title", 47 | "purpose": "hasA", 48 | "dataType": "string", 49 | "isNullable": true, 50 | "displayName": "title", 51 | "description": "The title of the person (for example, accounting manager)." 52 | }, 53 | { 54 | "name": "userActiveModifiedDate", 55 | "purpose": "hasA", 56 | "dataType": "date", 57 | "isNullable": true, 58 | "displayName": "userActiveModifiedDate", 59 | "description": "The date of user activation or termination." 60 | }, 61 | { 62 | "name": "userActiveStatus", 63 | "purpose": "hasA", 64 | "dataType": "boolean", 65 | "isNullable": true, 66 | "displayName": "userActiveStatus", 67 | "description": "The status of users (for identification of transactions by inactive users). The value of this field should be either “Active” or “Inactive” for flat file data; for XBRL GL, this is a Boolean, in which active is “true” and inactive is “false.”" 68 | }, 69 | { 70 | "name": "userId", 71 | "purpose": "identifiedBy", 72 | "dataType": "string", 73 | "displayName": "userId", 74 | "description": "A unique identifier of individuals entering transactions into the ERP system. This field is used to join information in this table to other tables based on the fields Entered_By, Last_Modified_By, and Approved_By." 75 | } 76 | ], 77 | "displayName": "UserListing", 78 | "description": "" 79 | } 80 | ] 81 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/Contract.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "Contract", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "LeaseId", 15 | "purpose": "hasA", 16 | "dataType": "integer", 17 | "displayName": "LeaseId", 18 | "description": "" 19 | }, 20 | { 21 | "name": "ContractId", 22 | "purpose": "identifiedBy", 23 | "dataType": "integer", 24 | "displayName": "Contract ID", 25 | "description": "The unique identifier of a Contract." 26 | }, 27 | { 28 | "name": "ContractDescription", 29 | "purpose": "hasA", 30 | "dataType": "string", 31 | "isNullable": true, 32 | "displayName": "Contract Description", 33 | "description": "The description of the contract.", 34 | "maximumLength": 512 35 | }, 36 | { 37 | "name": "ContractSignedDate", 38 | "purpose": "hasA", 39 | "dataType": "date", 40 | "isNullable": true, 41 | "displayName": "Contract Signed Date", 42 | "description": "The date that the Contract was signed." 43 | }, 44 | { 45 | "name": "ContractEffectiveStartDate", 46 | "purpose": "hasA", 47 | "dataType": "date", 48 | "isNullable": true, 49 | "displayName": "Contract Effective Start Date", 50 | "description": "The date that the Contract goes into effect." 51 | }, 52 | { 53 | "name": "ContractEffectiveEndDate", 54 | "purpose": "hasA", 55 | "dataType": "date", 56 | "isNullable": true, 57 | "displayName": "Contract Effective End Date", 58 | "description": "The date that the Contract is terminated or expires." 59 | }, 60 | { 61 | "name": "ContractPeriodMonths", 62 | "purpose": "hasA", 63 | "dataType": "integer", 64 | "isNullable": true, 65 | "displayName": "Contract Period Months", 66 | "description": "The number of months that the contract is to be in effect." 67 | }, 68 | { 69 | "name": "AutomaticRenewalIndicator", 70 | "purpose": "hasA", 71 | "dataType": "boolean", 72 | "isNullable": true, 73 | "displayName": "Automatic Renewal Indicator", 74 | "description": "Indicates that the Contract is to be automatically renewed upon expiration." 75 | }, 76 | { 77 | "name": "ContractTypeId", 78 | "purpose": "hasA", 79 | "dataType": "integer", 80 | "isNullable": true, 81 | "displayName": "Contract Type ID", 82 | "description": "The unique identifier of a Contract Type." 83 | } 84 | ], 85 | "displayName": "Contract", 86 | "description": "A written agreement between two or more parties specifying the terms and conditions under which business obligations will be performed." 87 | } 88 | ] 89 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/Title.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "Title", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "TitleNumber", 15 | "purpose": "hasA", 16 | "dataType": "double", 17 | "isNullable": true, 18 | "displayName": "TitleNumber", 19 | "description": "" 20 | }, 21 | { 22 | "name": "TitleId", 23 | "purpose": "identifiedBy", 24 | "dataType": "integer", 25 | "displayName": "TitleId", 26 | "description": "" 27 | }, 28 | { 29 | "name": "TitleEditionDate", 30 | "purpose": "hasA", 31 | "dataType": "date", 32 | "isNullable": true, 33 | "displayName": "TitleEditionDate", 34 | "description": "" 35 | }, 36 | { 37 | "name": "Description", 38 | "purpose": "hasA", 39 | "dataType": "string", 40 | "isNullable": true, 41 | "displayName": "Description", 42 | "description": "A narrative description of this Title.\n", 43 | "maximumLength": 1024 44 | }, 45 | { 46 | "name": "TitleIssueDate", 47 | "purpose": "hasA", 48 | "dataType": "date", 49 | "isNullable": true, 50 | "displayName": "TitleIssueDate", 51 | "description": "" 52 | }, 53 | { 54 | "name": "RegisterdProprietorId", 55 | "purpose": "hasA", 56 | "dataType": "integer", 57 | "isNullable": true, 58 | "displayName": "RegisterdProprietorId", 59 | "description": "" 60 | }, 61 | { 62 | "name": "BeneficialInterests", 63 | "purpose": "hasA", 64 | "dataType": "string", 65 | "isNullable": true, 66 | "displayName": "BeneficialInterests", 67 | "description": "" 68 | }, 69 | { 70 | "name": "TitleHoldingId", 71 | "purpose": "hasA", 72 | "dataType": "integer", 73 | "isNullable": true, 74 | "displayName": "TitleHoldingId", 75 | "description": "" 76 | }, 77 | { 78 | "name": "TitleHolding", 79 | "purpose": "hasA", 80 | "dataType": "string", 81 | "isNullable": true, 82 | "displayName": "TitleHolding", 83 | "description": "" 84 | }, 85 | { 86 | "name": "TitleStatusId", 87 | "purpose": "hasA", 88 | "dataType": "integer", 89 | "isNullable": true, 90 | "displayName": "TitleStatusId", 91 | "description": "" 92 | }, 93 | { 94 | "name": "TitleChargesId", 95 | "purpose": "hasA", 96 | "dataType": "integer", 97 | "isNullable": true, 98 | "displayName": "TitleChargesId", 99 | "description": "" 100 | } 101 | ], 102 | "displayName": "Title", 103 | "description": "" 104 | } 105 | ] 106 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/PropertyConstuctionForm.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "PropertyConstuctionForm", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "FormId", 15 | "purpose": "identifiedBy", 16 | "dataType": "integer", 17 | "displayName": "FormId", 18 | "description": "" 19 | }, 20 | { 21 | "name": "PhysicalFormType", 22 | "purpose": "hasA", 23 | "dataType": "string", 24 | "isNullable": true, 25 | "displayName": "PhysicalFormType", 26 | "description": "\"Other\tThe form of the property construction is not one of those specified.\nBlock\tThe property is a block comprising multiple units intended for separate occupancy by multiple tenants or owners\nResidential block\tA block of multiple residential units (including predominantly residential mixed use blocks with commercial use on the ground or lower floors).\nCommercial block\tA block of multiple commercial units (typically offices)\nDiscrete building\tA discrete building with its own private entrance that is or was originially intended for occupancy by one tenant or owner, i.e. it was not built with the intention of multiple tenants or owners, even if it has now been divded for this use\nHouse\tA multi-storey dwelling designed for occupancy by one family group\nDivided house\tA multi-storey dwelling designed for occupancy by one family group but that has subsequently been converted to accommodate multiple family groups\nBungalow\tA low dwelling designed for occupancy by one family group and having only one storey, or upper rooms set into the roof space\nDormer bungalow\tA low dwelling designed for occupancy by one family group with upper rooms set into the roof space and dormer windows\nWarehouse/store\tA structure who primary purpose is for temporary or permanent storage. This may include distribution warehouses, barns etc.\nIndustrial\tA property for industrial purposes, including manufacturing, processing and generating.\nOffice\tAn office building for the sole occupancy of one tenant or owner\nRetail\tA retail building occupied by one or more retail tenants or owners\nAncilliary\tA secondary building with its own entrance and no entrance from the main bulding, typically detached from the main building and providing some supporting purpose to the main building or buildings on the same site.\nGarage\tA garage designed as a place to keep one or more cars\nBoiler house\tA building containing the boiler and associated plant\nWorkshop\tA workshop.\nFuel store\tA building for storing fuel, e.g. a wood or coal shed.\"\n" 27 | }, 28 | { 29 | "name": "ContractId", 30 | "purpose": "hasA", 31 | "dataType": "integer", 32 | "isNullable": true, 33 | "displayName": "ContractId", 34 | "description": "The unique identifier of a contract\n" 35 | }, 36 | { 37 | "name": "PropertyId", 38 | "purpose": "hasA", 39 | "dataType": "integer", 40 | "isNullable": true, 41 | "displayName": "PropertyId", 42 | "description": "" 43 | } 44 | ], 45 | "displayName": "PropertyConstuctionForm", 46 | "description": "" 47 | } 48 | ] 49 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/LicenceToAlter.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "LicenceToAlter", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "LicenceToAlterId", 15 | "purpose": "identifiedBy", 16 | "dataType": "integer", 17 | "displayName": "LicenceToAlterId", 18 | "description": "" 19 | }, 20 | { 21 | "name": "PropertyAlterationId", 22 | "purpose": "hasA", 23 | "dataType": "integer", 24 | "isNullable": true, 25 | "displayName": "PropertyAlterationId", 26 | "description": "" 27 | }, 28 | { 29 | "name": "PropertyId", 30 | "purpose": "hasA", 31 | "dataType": "integer", 32 | "isNullable": true, 33 | "displayName": "PropertyId", 34 | "description": "" 35 | }, 36 | { 37 | "name": "ContractId", 38 | "purpose": "hasA", 39 | "dataType": "integer", 40 | "isNullable": true, 41 | "displayName": "ContractId", 42 | "description": "" 43 | }, 44 | { 45 | "name": "PropertyAterationDescription", 46 | "purpose": "hasA", 47 | "dataType": "string", 48 | "isNullable": true, 49 | "displayName": "PropertyAterationDescription", 50 | "description": "" 51 | }, 52 | { 53 | "name": "PropertyAlterationStartTimestamp", 54 | "purpose": "hasA", 55 | "dataType": "date", 56 | "isNullable": true, 57 | "displayName": "PropertyAlterationStartTimestamp", 58 | "description": "" 59 | }, 60 | { 61 | "name": "PropertyAlterationEndTimestamp", 62 | "purpose": "hasA", 63 | "dataType": "date", 64 | "isNullable": true, 65 | "displayName": "PropertyAlterationEndTimestamp", 66 | "description": "" 67 | }, 68 | { 69 | "name": "PropertyAlterationEstimatedCost", 70 | "purpose": "hasA", 71 | "dataType": "integer", 72 | "isNullable": true, 73 | "displayName": "PropertyAlterationEstimatedCost", 74 | "description": "" 75 | }, 76 | { 77 | "name": "PropertyAlterationNotes", 78 | "purpose": "hasA", 79 | "dataType": "string", 80 | "isNullable": true, 81 | "displayName": "PropertyAlterationNotes", 82 | "description": "" 83 | }, 84 | { 85 | "name": "AlterationsTypeId", 86 | "purpose": "hasA", 87 | "dataType": "integer", 88 | "isNullable": true, 89 | "displayName": "AlterationsTypeId", 90 | "description": "" 91 | }, 92 | { 93 | "name": "LocationId", 94 | "purpose": "hasA", 95 | "dataType": "integer", 96 | "isNullable": true, 97 | "displayName": "LocationId", 98 | "description": "" 99 | } 100 | ], 101 | "displayName": "LicenceToAlter", 102 | "description": "" 103 | } 104 | ] 105 | } -------------------------------------------------------------------------------- /AuditCDMV2/sourceListing.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "2.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "cdm:/foundations.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "sourceListing", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | [ 14 | { 15 | "name": "businessProcessMajor", 16 | "purpose": "hasA", 17 | "dataType": "string", 18 | "isNullable": true, 19 | "displayName": "businessProcessMajor", 20 | "description": "The major class of transaction associated with a business process (for example, sales)." 21 | }, 22 | { 23 | "name": "businessProcessMinor", 24 | "purpose": "hasA", 25 | "dataType": "string", 26 | "isNullable": true, 27 | "displayName": "businessProcessMinor", 28 | "description": "A subprocess of the major business process (for example-orders, returns, discounts, and so on)." 29 | }, 30 | { 31 | "name": "erpSubledgerModule", 32 | "purpose": "hasA", 33 | "dataType": "string", 34 | "isNullable": true, 35 | "displayName": "erpSubledgerModule", 36 | "description": "Description of the subledger or ERP module the journal entry originated from. Should tie back to a system or significant accounting process. In some instances, may be represented by source." 37 | }, 38 | { 39 | "name": "sourceDescription", 40 | "purpose": "hasA", 41 | "dataType": "string", 42 | "isNullable": true, 43 | "displayName": "sourceDescription", 44 | "description": "A plain English description of the source. Some of the more common journals are purchases, sales, cash receipts, cash disbursements, and general journal." 45 | }, 46 | { 47 | "name": "sourceId", 48 | "purpose": "identifiedBy", 49 | "dataType": "string", 50 | "isNullable": false, 51 | "displayName": "sourceId", 52 | "description": "Posting source (code for source from which the journal entry originated, such as sales journal, cash receipts journal, general journal, payroll journal, accountant manual entry, spreadsheet, and so on)." 53 | }, 54 | { 55 | "name": "systemManualIdentifier", 56 | "purpose": "hasA", 57 | "dataType": "string", 58 | "isNullable": true, 59 | "displayName": "systemManualIdentifier", 60 | "description": "Define if the source creates system-generated or manually entered journal entries. Provide an -S- or -M- for the value." 61 | } 62 | ] 63 | ], 64 | "displayName": "sourceListing", 65 | "description": "" 66 | } 67 | ] 68 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/_allImports.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "/foundations.cdm.json" 6 | }, 7 | { 8 | "corpusPath": "PropertyType.cdm.json" 9 | }, 10 | { 11 | "corpusPath": "LeaseholdImprovementType.cdm.json" 12 | }, 13 | { 14 | "corpusPath": "LeaseholdImprovement.cdm.json" 15 | }, 16 | { 17 | "corpusPath": "Contract.cdm.json" 18 | }, 19 | { 20 | "corpusPath": "Floor.cdm.json" 21 | }, 22 | { 23 | "corpusPath": "Building.cdm.json" 24 | }, 25 | { 26 | "corpusPath": "ExtraordinaryRepairPartyRelationshipType.cdm.json" 27 | }, 28 | { 29 | "corpusPath": "ExtraordinaryRepairType.cdm.json" 30 | }, 31 | { 32 | "corpusPath": "ExtraordinaryRepair.cdm.json" 33 | }, 34 | { 35 | "corpusPath": "RelatedProperty.cdm.json" 36 | }, 37 | { 38 | "corpusPath": "PropertyLocation.cdm.json" 39 | }, 40 | { 41 | "corpusPath": "PropertyLocationCost.cdm.json" 42 | }, 43 | { 44 | "corpusPath": "PropertyLocationPartyContract.cdm.json" 45 | }, 46 | { 47 | "corpusPath": "PropertyLocationStatus.cdm.json" 48 | }, 49 | { 50 | "corpusPath": "PropertyLocationStatusType.cdm.json" 51 | }, 52 | { 53 | "corpusPath": "PropertyLocationFunction.cdm.json" 54 | }, 55 | { 56 | "corpusPath": "Property.cdm.json" 57 | }, 58 | { 59 | "corpusPath": "TitleStatus.cdm.json" 60 | }, 61 | { 62 | "corpusPath": "Space.cdm.json" 63 | }, 64 | { 65 | "corpusPath": "SpaceClassification.cdm.json" 66 | }, 67 | { 68 | "corpusPath": "Duration.cdm.json" 69 | }, 70 | { 71 | "corpusPath": "Component.cdm.json" 72 | }, 73 | { 74 | "corpusPath": "SubjectType.cdm.json" 75 | }, 76 | { 77 | "corpusPath": "Address.cdm.json" 78 | }, 79 | { 80 | "corpusPath": "LeaseHold.cdm.json" 81 | }, 82 | { 83 | "corpusPath": "SaleInformationLandLease.cdm.json" 84 | }, 85 | { 86 | "corpusPath": "LeaseholdNotices.cdm.json" 87 | }, 88 | { 89 | "corpusPath": "Unit.cdm.json" 90 | }, 91 | { 92 | "corpusPath": "PropertyConstuctionForm.cdm.json" 93 | }, 94 | { 95 | "corpusPath": "LeaseTerm.cdm.json" 96 | }, 97 | { 98 | "corpusPath": "GovernmentalBody.cdm.json" 99 | }, 100 | { 101 | "corpusPath": "FeatureCount.cdm.json" 102 | }, 103 | { 104 | "corpusPath": "Changes.cdm.json" 105 | }, 106 | { 107 | "corpusPath": "AlterationType.cdm.json" 108 | }, 109 | { 110 | "corpusPath": "Lease.cdm.json" 111 | }, 112 | { 113 | "corpusPath": "TitleHolding.cdm.json" 114 | }, 115 | { 116 | "corpusPath": "Title.cdm.json" 117 | }, 118 | { 119 | "corpusPath": "TitleCharges.cdm.json" 120 | }, 121 | { 122 | "corpusPath": "Parking.cdm.json" 123 | }, 124 | { 125 | "corpusPath": "Information.cdm.json" 126 | }, 127 | { 128 | "corpusPath": "LicenceToAlter.cdm.json" 129 | }, 130 | { 131 | "corpusPath": "Water.cdm.json" 132 | }, 133 | { 134 | "corpusPath": "Utility.cdm.json" 135 | }, 136 | { 137 | "corpusPath": "RegisteredProprietor.cdm.json" 138 | } 139 | ] 140 | } -------------------------------------------------------------------------------- /Archive/AuditCDM/businessUnit.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "cdm:/foundations.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "BusinessUnit", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "businessUnitCode", 15 | "purpose": "identifiedBy", 16 | "dataType": "string", 17 | "displayName": "businessUnitCode", 18 | "description": "Used to identify the business unit, region, branch, and so on at the level that financial statements are being audited and for which the trial balance is generated. For example, you may use a code aligned with the concept of a reportable segment as defined in FASB Accounting Standards Codification (ASC) 280, Segment Reporting." 19 | }, 20 | { 21 | "name": "businessUnitDescription", 22 | "purpose": "hasA", 23 | "dataType": "string", 24 | "isNullable": true, 25 | "displayName": "businessUnitDescription", 26 | "description": "Business unit (plain English) description to indicate the name or other identifying characteristics of the business unit" 27 | }, 28 | { 29 | "name": "businessUnitHierarchy1", 30 | "purpose": "hasA", 31 | "dataType": "string", 32 | "isNullable": true, 33 | "displayName": "businessUnitHierarchy1", 34 | "description": "If a hierarchy exists in the business unit structure, use the field to capture the highest level of the hierarchy (for example, global area with values such as North America, South America, Europe, the Middle East, Africa, the Far East, and so on)." 35 | }, 36 | { 37 | "name": "businessUnitHierarchy2", 38 | "purpose": "hasA", 39 | "dataType": "string", 40 | "isNullable": true, 41 | "displayName": "businessUnitHierarchy2", 42 | "description": "If a hierarchy exists in the business unit structure, use the field to capture the next lower level of the hierarchy (for example, regions with values such as East Coast, West Coast, Central-Western Europe, and so on)." 43 | }, 44 | { 45 | "name": "businessUnitHierarchy3", 46 | "purpose": "hasA", 47 | "dataType": "string", 48 | "isNullable": true, 49 | "displayName": "businessUnitHierarchy3", 50 | "description": "If a hierarchy exists in the business unit structure, use the field to capture the next lower level of the hierarchy (for example, cities with values such as Los Angeles, Boston, Frankfurt, and so on)." 51 | }, 52 | { 53 | "name": "businessUnitHierarchy4", 54 | "purpose": "hasA", 55 | "dataType": "string", 56 | "isNullable": true, 57 | "displayName": "businessUnitHierarchy4", 58 | "description": "If a hierarchy exists in the business unit\nstructure, use the field to capture the next\nlower level of the hierarchy." 59 | }, 60 | { 61 | "name": "businessUnitHierarchy5", 62 | "purpose": "hasA", 63 | "dataType": "string", 64 | "isNullable": true, 65 | "displayName": "businessUnitHierarchy5", 66 | "description": "If a hierarchy exists in the business unit\nstructure, use the field to capture the next\nlower level of the hierarchy." 67 | }, 68 | { 69 | "name": "legalEntityIdentifier", 70 | "purpose": "hasA", 71 | "dataType": "string", 72 | "isNullable": true, 73 | "displayName": "legalEntityIdentifier", 74 | "description": "" 75 | } 76 | ], 77 | "displayName": "BusinessUnit", 78 | "description": "" 79 | } 80 | ] 81 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/PropertyType.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "PropertyType", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "PropertyTypeId", 15 | "purpose": "identifiedBy", 16 | "dataType": "integer", 17 | "displayName": "Property Type ID", 18 | "description": "The unique identifier of a Property Type." 19 | }, 20 | { 21 | "name": "PropertyTypeName", 22 | "purpose": "hasA", 23 | "dataType": "string", 24 | "isNullable": true, 25 | "displayName": "Property Type Name", 26 | "description": "The name of a Property Type.", 27 | "maximumLength": 128 28 | }, 29 | { 30 | "name": "PropertyTypeDescription", 31 | "purpose": "hasA", 32 | "dataType": "string", 33 | "isNullable": true, 34 | "displayName": "Property Type Description", 35 | "description": "The description of a Property Type.", 36 | "maximumLength": 512 37 | } 38 | ], 39 | "displayName": "Property Type", 40 | "description": "The physical characteristics describing the associated property.\n\nEx:\nCOMMERCIAL\nReal estate zoned for business or industrial use.\n\nCONDOMINIUM\nIndividual ownership of a dwelling unit and an individual interest in the common areas and facilities, which serve the multi-unit project.\n\nCONDOMINIUM CONVERSION\nChanging the ownership of an existing building (usually a rental project) to the condominium form of ownership.\n\nCONDOMINIUM HOTEL\nA condominium project that has rental or registration desks, short-term occupancy, food and telephone services, and daily cleaning services and that is operated as a commercial hotel even though the units are individually owned.\n\nCO-OP\nA person, corporation, partnership, or other legal entity capable of holding or owning any interest in real property who owns all or an interest in an apartment, townhouse, or cottage, subject to a Horizontal Property Regime.\n\nCOOPERATIVE\nA type of multiple ownership in which the residents of a multiunit housing complex own shares in the cooperative corporation that owns the property, giving each resident the right to occupy a specific apartment or unit.\n\nFARM\nFarm includes a facility that packs or holds food if all food is grown or raised on that farm or consumed on that farm; and manufactures/processes food, if all of the food used in such activities is consumed on that farm or another farm under the same ownership\n\nLOT\nAny lot, parcel, tract of land, or combination thereof, shown on a plat of record or recorded by metes and bounds that is occupied or intended for occupancy by a use permitted in this Declaration of Reservations.\n\nMOBILE HOME\nA dwelling unit, factory built and factory assembled, designed for conveyance, after fabrication, on streets and highways on its own wheels or on a flatbed or other trailers, and arriving at the site where it is to be occupied as a dwelling unit complete and ready for occupancy except for minor and incidental unpacking and assembly operations such as locating on jacks or other foundations, or connection to utilities.\n\nMULTI-FAMILY\nA dwelling that is designed to house more than four families, such as a high-rise apartment complex.\n\nSINGLE FAMILY\nA building designed for occupancy by a single family.\n\nTOWNHOUSE\nA dwelling unit occupying all or part of a floor or floors in a building of one or more floors or stories but not the entire building, except in those condominium projects in which one of several buildings may contain only one townhouse." 41 | } 42 | ] 43 | } -------------------------------------------------------------------------------- /AuditCDMV3/bankAccountMasterData.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "3.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "cdm:/foundations.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "bankAccountMasterData", 11 | "extendsEntity": "CdmEntity", 12 | "attributes": [ 13 | { 14 | "name": "IBAN", 15 | "purpose": "hasA", 16 | "dataType": "string", 17 | "isNullable": false, 18 | "display_name": "IBAN", 19 | "description": "The International Bank Account Number." 20 | }, 21 | { 22 | "name": "bankAccountId", 23 | "purpose": "hasA", 24 | "dataType": "string", 25 | "isNullable": false, 26 | "display_name": "bankAccountId", 27 | "description": "Unambiguous identification of the account to which credit and debit entries are made." 28 | }, 29 | { 30 | "name": "bankAccountName", 31 | "purpose": "hasA", 32 | "dataType": "string", 33 | "isNullable": false, 34 | "display_name": "bankAccountName", 35 | "description": "Name of the bank account, e.g. 'NatWest Checking Account'." 36 | }, 37 | { 38 | "name": "bankAccountNumber", 39 | "purpose": "hasA", 40 | "dataType": "string", 41 | "isNullable": false, 42 | "display_name": "bankAccountNumber", 43 | "description": "The number allocated to the account by the individual's or company's own bank." 44 | }, 45 | { 46 | "name": "bankAccountSubType", 47 | "purpose": "hasA", 48 | "dataType": "string", 49 | "isNullable": false, 50 | "display_name": "bankAccountSubType", 51 | "description": "Specifies the sub type of account (product family group)." 52 | }, 53 | { 54 | "name": "bankAccountType", 55 | "purpose": "hasA", 56 | "dataType": "string", 57 | "isNullable": false, 58 | "display_name": "bankAccountType", 59 | "description": "Specifies the type of account (personal or business)." 60 | }, 61 | { 62 | "name": "bankSortCode", 63 | "purpose": "hasA", 64 | "dataType": "string", 65 | "isNullable": false, 66 | "display_name": "bankSortCode", 67 | "description": "The bank sort code." 68 | }, 69 | { 70 | "name": "userDefined1", 71 | "purpose": "hasA", 72 | "dataType": "string", 73 | "isNullable": false, 74 | "display_name": "userDefined1", 75 | "description": "Having a function or role that is defined and gets varied from user to user." 76 | }, 77 | { 78 | "name": "userDefined2", 79 | "purpose": "hasA", 80 | "dataType": "string", 81 | "isNullable": false, 82 | "display_name": "userDefined2", 83 | "description": "Having a function or role that is defined and gets varied from user to user." 84 | } 85 | ] 86 | } 87 | ] 88 | } -------------------------------------------------------------------------------- /AuditCDMV3/sourceListing.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "3.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "cdm:/foundations.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "sourceListing", 11 | "extendsEntity": "CdmEntity", 12 | "attributes": [ 13 | { 14 | "name": "businessProcessMajor", 15 | "purpose": "hasA", 16 | "dataType": "string", 17 | "isNullable": false, 18 | "display_name": "businessProcessMajor", 19 | "description": "The major class of transaction associated with a business process, e.g. sales." 20 | }, 21 | { 22 | "name": "businessProcessMinor", 23 | "purpose": "hasA", 24 | "dataType": "string", 25 | "isNullable": false, 26 | "display_name": "businessProcessMinor", 27 | "description": "A subprocess of the major business process, e.g. orders, returns, discounts, etc." 28 | }, 29 | { 30 | "name": "erpSubledgerModule", 31 | "purpose": "hasA", 32 | "dataType": "string", 33 | "isNullable": false, 34 | "display_name": "erpSubledgerModule", 35 | "description": "Description of the subledger or ERP module the journal entry originated from. Should tie back to a system or significant accounting process. In some instances, may be represented by source." 36 | }, 37 | { 38 | "name": "sourceDescription", 39 | "purpose": "hasA", 40 | "dataType": "string", 41 | "isNullable": false, 42 | "display_name": "sourceDescription", 43 | "description": "A plain language description of the source. Some of the more common journals are purchases, sales, cash receipts, cash disbursements, and general journal." 44 | }, 45 | { 46 | "name": "sourceId", 47 | "purpose": "hasA", 48 | "dataType": "string", 49 | "isNullable": false, 50 | "display_name": "sourceId", 51 | "description": "Posting source: code for source from which the journal entry originated, e.g. sales journal, cash receipts journal, general journal, payroll journal, accountant manual entry, spreadsheet, etc." 52 | }, 53 | { 54 | "name": "systemManualIdentifier", 55 | "purpose": "hasA", 56 | "dataType": "string", 57 | "isNullable": false, 58 | "display_name": "systemManualIdentifier", 59 | "description": "Define if the source creates system-generated or manually entered journal entries. Provide an \"S\" or \"M\" for the value." 60 | }, 61 | { 62 | "name": "userDefined1", 63 | "purpose": "hasA", 64 | "dataType": "string", 65 | "isNullable": false, 66 | "display_name": "userDefined1", 67 | "description": "Having a function or role that is defined and gets varied from user to user." 68 | }, 69 | { 70 | "name": "userDefined2", 71 | "purpose": "hasA", 72 | "dataType": "string", 73 | "isNullable": false, 74 | "display_name": "userDefined2", 75 | "description": "Having a function or role that is defined and gets varied from user to user." 76 | } 77 | ] 78 | } 79 | ] 80 | } -------------------------------------------------------------------------------- /Archive/AuditCDM/taxTable.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "cdm:/foundations.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "taxTable", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "regulatorActiveFlag", 15 | "purpose": "hasA", 16 | "dataType": "string", 17 | "isNullable": true, 18 | "displayName": "regulatorActiveFlag", 19 | "description": "True (Active) or False (Inactive)\n" 20 | }, 21 | { 22 | "name": "regulatorCode", 23 | "purpose": "identifiedBy", 24 | "dataType": "string", 25 | "displayName": "regulatorCode", 26 | "description": "\"A code used to refer to this regulator or\njurisdiction; used as key or cross-reference\nin files.\"\n" 27 | }, 28 | { 29 | "name": "regulatorCountry", 30 | "purpose": "hasA", 31 | "dataType": "string", 32 | "isNullable": true, 33 | "displayName": "regulatorCountry", 34 | "description": "\"Recommend ISO 3166-1 Alpha 2 or Alpha 3\nformat\"\n" 35 | }, 36 | { 37 | "name": "regulatorDefaultAccrualglAccountNumber", 38 | "purpose": "hasA", 39 | "dataType": "string", 40 | "isNullable": true, 41 | "displayName": "regulatorDefaultAccrualglAccountNumber", 42 | "description": "\"GL account used to reflect accruals due to\nregulator\"\n" 43 | }, 44 | { 45 | "name": "regulatorDefaultExpenseglAccountNumber", 46 | "purpose": "hasA", 47 | "dataType": "string", 48 | "isNullable": true, 49 | "displayName": "regulatorDefaultExpenseglAccountNumber", 50 | "description": "\"GL account used to reflect accruals due to\nregulator\"\n" 51 | }, 52 | { 53 | "name": "regulatorDefaultPayableglAccountNumber", 54 | "purpose": "hasA", 55 | "dataType": "string", 56 | "isNullable": true, 57 | "displayName": "regulatorDefaultPayableglAccountNumber", 58 | "description": "\"GL account used to reflect accruals due to\nregulator\"\n" 59 | }, 60 | { 61 | "name": "regulatorIdentifier", 62 | "purpose": "hasA", 63 | "dataType": "string", 64 | "isNullable": true, 65 | "displayName": "regulatorIdentifier", 66 | "description": "\"Tax or other code assigned by Regulator for\nreporting organization to Regulator\"\n" 67 | }, 68 | { 69 | "name": "regulatorName", 70 | "purpose": "hasA", 71 | "dataType": "string", 72 | "isNullable": true, 73 | "displayName": "regulatorName", 74 | "description": "\"Name of regulator for whom tax is withheld\nor accrued\"\n" 75 | }, 76 | { 77 | "name": "regulatorRegion", 78 | "purpose": "hasA", 79 | "dataType": "string", 80 | "isNullable": true, 81 | "displayName": "regulatorRegion", 82 | "description": "\"Sub-region within country; in the U.S., this\nwould be state; in Canada it would be\nprovince.\"\n" 83 | }, 84 | { 85 | "name": "regulatorReportingOrganization", 86 | "purpose": "hasA", 87 | "dataType": "string", 88 | "isNullable": true, 89 | "displayName": "regulatorReportingOrganization", 90 | "description": "\"Cross-reference to\nOrganization_Location_File_YYYYMMDD\"\n" 91 | }, 92 | { 93 | "name": "regulatorRole", 94 | "purpose": "hasA", 95 | "dataType": "string", 96 | "isNullable": true, 97 | "displayName": "regulatorRole", 98 | "description": "From: Federal, Regional, Local\n" 99 | } 100 | ], 101 | "displayName": "taxTable", 102 | "description": "" 103 | } 104 | ] 105 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/FeatureCount.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "FeatureCount", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "FeatureCountId", 15 | "purpose": "identifiedBy", 16 | "dataType": "integer", 17 | "displayName": "FeatureCountId", 18 | "description": "" 19 | }, 20 | { 21 | "name": "OutdoorTennisCourts", 22 | "purpose": "hasA", 23 | "dataType": "double", 24 | "isNullable": true, 25 | "displayName": "OutdoorTennisCourts", 26 | "description": "Outdoor Tennis Courts: Indicate the number of indoor tennis courts on the property.\n" 27 | }, 28 | { 29 | "name": "IndoorTennisCourts", 30 | "purpose": "hasA", 31 | "dataType": "double", 32 | "isNullable": true, 33 | "displayName": "IndoorTennisCourts", 34 | "description": "Indoor Tennis Courts: Indicate the number of outdoor tennis courts on the property.\n" 35 | }, 36 | { 37 | "name": "NumberofBays", 38 | "purpose": "hasA", 39 | "dataType": "double", 40 | "isNullable": true, 41 | "displayName": "NumberofBays", 42 | "description": "Number of Bays : Enter the number of bays in the propoerty\n" 43 | }, 44 | { 45 | "name": "NoOfFloorsOccupiedByFullFloorTenants", 46 | "purpose": "hasA", 47 | "dataType": "double", 48 | "isNullable": true, 49 | "displayName": "NoOfFloorsOccupiedByFullFloorTenants", 50 | "description": "No. of Floors Occupied By Full-Floor Tenants: Enter the number of bays in the propoerty\n" 51 | }, 52 | { 53 | "name": "NumberofLicensedBeds", 54 | "purpose": "hasA", 55 | "dataType": "double", 56 | "isNullable": true, 57 | "displayName": "NumberofLicensedBeds", 58 | "description": "Number of Licensed Beds: Enter the number of licensed beds in the property.\n" 59 | }, 60 | { 61 | "name": "NumberofMedicaidBeds", 62 | "purpose": "hasA", 63 | "dataType": "double", 64 | "isNullable": true, 65 | "displayName": "NumberofMedicaidBeds", 66 | "description": "Number of Medicaid Beds: Enter the number of Medicaid beds in the property.\n" 67 | }, 68 | { 69 | "name": "NumberofMedicareBeds", 70 | "purpose": "hasA", 71 | "dataType": "double", 72 | "isNullable": true, 73 | "displayName": "NumberofMedicareBeds", 74 | "description": "Number of Medicare Beds: Enter the number of Medicare beds in the property.\n" 75 | }, 76 | { 77 | "name": "NumberofPrivatePayBeds", 78 | "purpose": "hasA", 79 | "dataType": "double", 80 | "isNullable": true, 81 | "displayName": "NumberofPrivatePayBeds", 82 | "description": "Number of Private-Pay Beds: Enter the number of Private-Pay beds in the property.\n" 83 | }, 84 | { 85 | "name": "NumberofOtherBeds", 86 | "purpose": "hasA", 87 | "dataType": "double", 88 | "isNullable": true, 89 | "displayName": "NumberofOtherBeds", 90 | "description": "Number of Other Beds: Enter the number of other beds in the property.\n" 91 | }, 92 | { 93 | "name": "BuildingId", 94 | "purpose": "hasA", 95 | "dataType": "integer", 96 | "isNullable": true, 97 | "displayName": "BuildingId", 98 | "description": "" 99 | } 100 | ], 101 | "displayName": "FeatureCount", 102 | "description": "" 103 | } 104 | ] 105 | } -------------------------------------------------------------------------------- /src/data/entity.json: -------------------------------------------------------------------------------- 1 | { 2 | "entities": [ 3 | { 4 | "display_name": "AP Payment Data", 5 | "name": "apPaymentData" 6 | }, 7 | { 8 | "display_name": "Goods Received Data", 9 | "name": "goodsReceivedData" 10 | }, 11 | { 12 | "display_name": "Payables Listing", 13 | "name": "payablesListing" 14 | }, 15 | { 16 | "display_name": "Purchase Invoice Data", 17 | "name": "purchaseInvoiceData" 18 | }, 19 | { 20 | "display_name": "Purchase Order Data", 21 | "name": "purchaseOrderData" 22 | }, 23 | { 24 | "display_name": "Supplier Balances", 25 | "name": "supplierBalances" 26 | }, 27 | { 28 | "display_name": "Supplier Master Data", 29 | "name": "supplierMasterData" 30 | }, 31 | { 32 | "display_name": "AR Payment Data", 33 | "name": "arPaymentData" 34 | }, 35 | { 36 | "display_name": "Customer Balance", 37 | "name": "customerBalance" 38 | }, 39 | { 40 | "display_name": "Customer Master Data", 41 | "name": "customerMasterData" 42 | }, 43 | { 44 | "display_name": "Goods Shipped Data", 45 | "name": "goodsShippedData" 46 | }, 47 | { 48 | "display_name": "Receivables Listing", 49 | "name": "receivablesListing" 50 | }, 51 | { 52 | "display_name": "Sales Invoice Data", 53 | "name": "salesInvoiceData" 54 | }, 55 | { 56 | "display_name": "Sales Order Data", 57 | "name": "salesOrderData" 58 | }, 59 | { 60 | "display_name": "Fixed Asset Additions", 61 | "name": "fixedAssetAdditions" 62 | }, 63 | { 64 | "display_name": "Fixed Asset Depreciation", 65 | "name": "fixedAssetDepreciation" 66 | }, 67 | { 68 | "display_name": "Fixed Asset Master Data", 69 | "name": "fixedAssetMasterData" 70 | }, 71 | { 72 | "display_name": "Fixed Asset Removals", 73 | "name": "fixedAssetRemovals" 74 | }, 75 | { 76 | "display_name": "Fixed Asset Valuation", 77 | "name": "fixedAssetValuation" 78 | }, 79 | { 80 | "display_name": "Bank Account Master Data", 81 | "name": "bankAccountMasterData" 82 | }, 83 | { 84 | "display_name": "Business Unit", 85 | "name": "businessUnit" 86 | }, 87 | { 88 | "display_name": "Chart of Accounts", 89 | "name": "ChartOfAccounts" 90 | }, 91 | { 92 | "display_name": "GL Detail", 93 | "name": "glDetail" 94 | }, 95 | { 96 | "display_name": "Segment Listing", 97 | "name": "segmentListing" 98 | }, 99 | { 100 | "display_name": "Source Listing", 101 | "name": "sourceListing" 102 | }, 103 | { 104 | "display_name": "Tax Table", 105 | "name": "taxTable" 106 | }, 107 | { 108 | "display_name": "Trial Balance", 109 | "name": "trialBalance" 110 | }, 111 | { 112 | "display_name": "User Listing", 113 | "name": "userListing" 114 | }, 115 | { 116 | "display_name": "Employee Master Data", 117 | "name": "employeeMasterData" 118 | }, 119 | { 120 | "display_name": "Inventory List", 121 | "name": "inventoryList" 122 | }, 123 | { 124 | "display_name": "Inventory Transactions", 125 | "name": "inventoryTransactions" 126 | }, 127 | { 128 | "display_name": "Material Cost", 129 | "name": "materialCost" 130 | } 131 | ] 132 | } -------------------------------------------------------------------------------- /AuditCDMV2/userListing.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "2.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "cdm:/foundations.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "userListing", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | [ 14 | { 15 | "name": "department", 16 | "purpose": "hasA", 17 | "dataType": "string", 18 | "isNullable": true, 19 | "displayName": "department", 20 | "description": "The department the person is part of (for example, accounting)." 21 | }, 22 | { 23 | "name": "firstName", 24 | "purpose": "hasA", 25 | "dataType": "string", 26 | "isNullable": true, 27 | "displayName": "firstName", 28 | "description": "The first (given) name of the person." 29 | }, 30 | { 31 | "name": "lastName", 32 | "purpose": "hasA", 33 | "dataType": "string", 34 | "isNullable": true, 35 | "displayName": "lastName", 36 | "description": "The last (family) name of the person." 37 | }, 38 | { 39 | "name": "roleResponsibility", 40 | "purpose": "hasA", 41 | "dataType": "string", 42 | "isNullable": true, 43 | "displayName": "roleResponsibility", 44 | "description": "The person's functional role or primary responsibility (for example, accounts payable)." 45 | }, 46 | { 47 | "name": "title", 48 | "purpose": "hasA", 49 | "dataType": "string", 50 | "isNullable": true, 51 | "displayName": "title", 52 | "description": "The title of the person (for example, accounting manager)." 53 | }, 54 | { 55 | "name": "userActiveModifiedDate", 56 | "purpose": "hasA", 57 | "dataType": "datetime", 58 | "isNullable": true, 59 | "displayName": "userActiveModifiedDate", 60 | "description": "The date of user activation or termination." 61 | }, 62 | { 63 | "name": "userActiveStatus", 64 | "purpose": "hasA", 65 | "dataType": "string", 66 | "isNullable": true, 67 | "displayName": "userActiveStatus", 68 | "description": "The status of users (for identification of transactions by inactive users). The value of this field should be either 'Active' or 'Inactive' for flat file data; for XBRL GL, this is a Boolean, in which active is 'true' and inactive is 'false.'" 69 | }, 70 | { 71 | "name": "userId", 72 | "purpose": "identifiedBy", 73 | "dataType": "string", 74 | "isNullable": false, 75 | "displayName": "userId", 76 | "description": "A unique identifier of individuals entering transactions into the ERP system. This field is used to join information in this table to other tables based on the fields Entered_By, Last_Modified_By, and Approved_By." 77 | } 78 | ] 79 | ], 80 | "displayName": "userListing", 81 | "description": "" 82 | } 83 | ] 84 | } -------------------------------------------------------------------------------- /AuditCDMV3/userListing.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "3.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "cdm:/foundations.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "userListing", 11 | "extendsEntity": "CdmEntity", 12 | "attributes": [ 13 | { 14 | "name": "department", 15 | "purpose": "hasA", 16 | "dataType": "string", 17 | "isNullable": false, 18 | "display_name": "department", 19 | "description": "The department the person is part of, e.g. accounting." 20 | }, 21 | { 22 | "name": "firstName", 23 | "purpose": "hasA", 24 | "dataType": "string", 25 | "isNullable": false, 26 | "display_name": "firstName", 27 | "description": "The first (given) name of the person." 28 | }, 29 | { 30 | "name": "lastName", 31 | "purpose": "hasA", 32 | "dataType": "string", 33 | "isNullable": false, 34 | "display_name": "lastName", 35 | "description": "The last (family) name of the person." 36 | }, 37 | { 38 | "name": "roleResponsibility", 39 | "purpose": "hasA", 40 | "dataType": "string", 41 | "isNullable": false, 42 | "display_name": "roleResponsibility", 43 | "description": "The person's functional role or primary responsibility, e.g. accounts payable." 44 | }, 45 | { 46 | "name": "title", 47 | "purpose": "hasA", 48 | "dataType": "string", 49 | "isNullable": false, 50 | "display_name": "title", 51 | "description": "The title of the person, e.g. accounting manager." 52 | }, 53 | { 54 | "name": "userActiveModifiedDate", 55 | "purpose": "hasA", 56 | "dataType": "datetime", 57 | "isNullable": false, 58 | "display_name": "userActiveModifiedDate", 59 | "description": "The date of user activation or termination." 60 | }, 61 | { 62 | "name": "userActiveStatus", 63 | "purpose": "hasA", 64 | "dataType": "string", 65 | "isNullable": false, 66 | "display_name": "userActiveStatus", 67 | "description": "The status of users (for identification of transactions by inactive users). Can be a Boolean flag or text to indicate 'active' or 'inactive' or similar" 68 | }, 69 | { 70 | "name": "userDefined1", 71 | "purpose": "hasA", 72 | "dataType": "string", 73 | "isNullable": false, 74 | "display_name": "userDefined1", 75 | "description": "Having a function or role that is defined and gets varied from user to user." 76 | }, 77 | { 78 | "name": "userDefined2", 79 | "purpose": "hasA", 80 | "dataType": "string", 81 | "isNullable": false, 82 | "display_name": "userDefined2", 83 | "description": "Having a function or role that is defined and gets varied from user to user." 84 | }, 85 | { 86 | "name": "userId", 87 | "purpose": "hasA", 88 | "dataType": "string", 89 | "isNullable": false, 90 | "display_name": "userId", 91 | "description": "A unique identifier of individuals entering transactions into the ERP system. This field is used to join information in this table to other tables based on the fields EnteredBy, LastModifiedBy, and ApprovedBy." 92 | } 93 | ] 94 | } 95 | ] 96 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/Changes.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "Changes", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "ChangeId", 15 | "purpose": "identifiedBy", 16 | "dataType": "integer", 17 | "displayName": "ChangeId", 18 | "description": "" 19 | }, 20 | { 21 | "name": "ChangeBuildingWorkTear", 22 | "purpose": "hasA", 23 | "dataType": "date", 24 | "isNullable": true, 25 | "displayName": "ChangeBuildingWorkTear", 26 | "description": "" 27 | }, 28 | { 29 | "name": "ChangeOfUseYear", 30 | "purpose": "hasA", 31 | "dataType": "date", 32 | "isNullable": true, 33 | "displayName": "ChangeOfUseYear", 34 | "description": "" 35 | }, 36 | { 37 | "name": "SubDivisionYear", 38 | "purpose": "hasA", 39 | "dataType": "date", 40 | "isNullable": true, 41 | "displayName": "SubDivisionYear", 42 | "description": "" 43 | }, 44 | { 45 | "name": "ConversionYear", 46 | "purpose": "hasA", 47 | "dataType": "date", 48 | "isNullable": true, 49 | "displayName": "ConversionYear", 50 | "description": "" 51 | }, 52 | { 53 | "name": "BusinessActivitiesYear", 54 | "purpose": "hasA", 55 | "dataType": "date", 56 | "isNullable": true, 57 | "displayName": "BusinessActivitiesYear", 58 | "description": "" 59 | }, 60 | { 61 | "name": "GlazingReplacementYear", 62 | "purpose": "hasA", 63 | "dataType": "string", 64 | "isNullable": true, 65 | "displayName": "GlazingReplacementYear", 66 | "description": "" 67 | }, 68 | { 69 | "name": "BuildingWorkIndicator", 70 | "purpose": "hasA", 71 | "dataType": "boolean", 72 | "isNullable": true, 73 | "displayName": "BuildingWorkIndicator", 74 | "description": "" 75 | }, 76 | { 77 | "name": "OtherConsentRequestedDescription", 78 | "purpose": "hasA", 79 | "dataType": "string", 80 | "isNullable": true, 81 | "displayName": "OtherConsentRequestedDescription", 82 | "description": "" 83 | }, 84 | { 85 | "name": "ChangeOfUseIndicator", 86 | "purpose": "hasA", 87 | "dataType": "boolean", 88 | "isNullable": true, 89 | "displayName": "ChangeOfUseIndicator", 90 | "description": "" 91 | }, 92 | { 93 | "name": "ConsentNotRequestedReason", 94 | "purpose": "hasA", 95 | "dataType": "string", 96 | "isNullable": true, 97 | "displayName": "ConsentNotRequestedReason", 98 | "description": "" 99 | }, 100 | { 101 | "name": "ConversionIndicator", 102 | "purpose": "hasA", 103 | "dataType": "boolean", 104 | "isNullable": true, 105 | "displayName": "ConversionIndicator", 106 | "description": "" 107 | }, 108 | { 109 | "name": "BusinessActivitiesIndicator", 110 | "purpose": "hasA", 111 | "dataType": "boolean", 112 | "isNullable": true, 113 | "displayName": "BusinessActivitiesIndicator", 114 | "description": "" 115 | }, 116 | { 117 | "name": "AttachmentId", 118 | "purpose": "hasA", 119 | "dataType": "integer", 120 | "isNullable": true, 121 | "displayName": "AttachmentId", 122 | "description": "" 123 | }, 124 | { 125 | "name": "PropertyId", 126 | "purpose": "hasA", 127 | "dataType": "integer", 128 | "isNullable": true, 129 | "displayName": "PropertyId", 130 | "description": "" 131 | } 132 | ], 133 | "displayName": "Changes", 134 | "description": "" 135 | } 136 | ] 137 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/Duration.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "Duration", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "DurationId", 15 | "purpose": "identifiedBy", 16 | "dataType": "integer", 17 | "displayName": "DurationId", 18 | "description": "Unique Id that describes a period of time in various units from seconds to years\n" 19 | }, 20 | { 21 | "name": "description", 22 | "purpose": "hasA", 23 | "dataType": "string", 24 | "isNullable": true, 25 | "displayName": "description", 26 | "description": "A narrative description of this duration to be included IN ADDITION to the specific duration using the other attributes of this entity.\n" 27 | }, 28 | { 29 | "name": "years", 30 | "purpose": "hasA", 31 | "dataType": "string", 32 | "isNullable": true, 33 | "displayName": "years", 34 | "description": "the number of complete years in this duration. When calculating an end date by adding this duration to a start date, the number of years are added first, before any other duration attributes \n" 35 | }, 36 | { 37 | "name": "months", 38 | "purpose": "hasA", 39 | "dataType": "string", 40 | "isNullable": true, 41 | "displayName": "months", 42 | "description": "the number of complete months in this duration. When calcylating an end date by adding this duration to a start date, the number of years are added first, then the number of months, before any other duration attributes. \n" 43 | }, 44 | { 45 | "name": "weeks", 46 | "purpose": "hasA", 47 | "dataType": "string", 48 | "isNullable": true, 49 | "displayName": "weeks", 50 | "description": "The number of complete weeks in this duration. When calculating an end date by adding this duration to a start date, the number of years are added first, then the months, then the weeks, before any other duration attributes.\n" 51 | }, 52 | { 53 | "name": "days", 54 | "purpose": "hasA", 55 | "dataType": "string", 56 | "isNullable": true, 57 | "displayName": "days", 58 | "description": "The number of complete days in this duration. When calculating an end date by adding this duration to a start date, the number of years are added first, then the months, then weeks, then days, then hours, before any other duration attributes. \n" 59 | }, 60 | { 61 | "name": "hours", 62 | "purpose": "hasA", 63 | "dataType": "string", 64 | "isNullable": true, 65 | "displayName": "hours", 66 | "description": "The number of complete hours in this duration. When calculating an end date by adding this duration to a start date, the number of years are added first, then the months, then weeks, then days, then hours, before any other duration attributes. \n" 67 | }, 68 | { 69 | "name": "Minutes", 70 | "purpose": "hasA", 71 | "dataType": "string", 72 | "isNullable": true, 73 | "displayName": "Minutes", 74 | "description": "The number of complete minutes in this duration. When calculating an end date by adding this duration to a start date, the number of years are added first, then the months, then weeks, then days, then hours, then minutes, before any other duration attributes \n" 75 | }, 76 | { 77 | "name": "Seconds", 78 | "purpose": "hasA", 79 | "dataType": "string", 80 | "isNullable": true, 81 | "displayName": "Seconds", 82 | "description": "The number of complete seconds in this duration. When calculating an end date by adding this duration to a start date, the number of years are added first, then the months, then weeks, then days, then hours, then minutes and finally seconds. \n" 83 | }, 84 | { 85 | "name": "ContractId", 86 | "purpose": "hasA", 87 | "dataType": "integer", 88 | "isNullable": true, 89 | "displayName": "ContractId", 90 | "description": "" 91 | } 92 | ], 93 | "displayName": "Duration", 94 | "description": "Unique Id that describes a period of time in various units from seconds to years." 95 | } 96 | ] 97 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/PropertyLocationStatus.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "PropertyLocationStatus", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "PeriodStartTimestamp", 15 | "purpose": "identifiedBy", 16 | "dataType": "dateTime", 17 | "displayName": "Period Start Timestamp", 18 | "description": "The period start timestamp of the property location status." 19 | }, 20 | { 21 | "name": "PeriodEndTimestamp", 22 | "purpose": "hasA", 23 | "dataType": "dateTime", 24 | "isNullable": true, 25 | "displayName": "Period End Timestamp", 26 | "description": "The period end timestamp of the property location status." 27 | }, 28 | { 29 | "name": "PropertyLocationStatusNote", 30 | "purpose": "hasA", 31 | "dataType": "string", 32 | "isNullable": true, 33 | "displayName": "Property Location Status Note", 34 | "description": "A note, comment or additional information regarding the property location status.", 35 | "maximumLength": 1024 36 | }, 37 | { 38 | "entity": { 39 | "entityReference": "PropertyLocation", 40 | "appliedTraits": [ 41 | { 42 | "traitReference": "is.identifiedBy", 43 | "arguments": [ 44 | "PropertyLocation/(resolvedAttributes)/PropertyId" 45 | ] 46 | } 47 | ] 48 | }, 49 | "name": "PropertyId", 50 | "resolutionGuidance": { 51 | "renameFormat": "{m}", 52 | "entityByReference": { 53 | "allowReference": true, 54 | "foreignKeyAttribute": { 55 | "name": "PropertyId", 56 | "purpose": "identifiedBy", 57 | "dataType": "integer", 58 | "displayName": "Property ID", 59 | "description": "The unique identifier of a Property." 60 | } 61 | } 62 | } 63 | }, 64 | { 65 | "entity": { 66 | "entityReference": "PropertyLocation", 67 | "appliedTraits": [ 68 | { 69 | "traitReference": "is.identifiedBy", 70 | "arguments": [ 71 | "PropertyLocation/(resolvedAttributes)/PropertyLocationId" 72 | ] 73 | } 74 | ] 75 | }, 76 | "name": "PropertyLocationId", 77 | "resolutionGuidance": { 78 | "renameFormat": "{m}", 79 | "entityByReference": { 80 | "allowReference": true, 81 | "foreignKeyAttribute": { 82 | "name": "PropertyLocationId", 83 | "purpose": "identifiedBy", 84 | "dataType": "integer", 85 | "displayName": "Property Location ID", 86 | "description": "The unique identifier of a Property Location." 87 | } 88 | } 89 | } 90 | }, 91 | { 92 | "entity": { 93 | "entityReference": "PropertyLocationStatusType", 94 | "appliedTraits": [ 95 | { 96 | "traitReference": "is.identifiedBy", 97 | "arguments": [ 98 | "PropertyLocationStatusType/(resolvedAttributes)/PropertyLocationStatusId" 99 | ] 100 | } 101 | ] 102 | }, 103 | "name": "PropertyLocationStatusId", 104 | "resolutionGuidance": { 105 | "renameFormat": "{m}", 106 | "entityByReference": { 107 | "allowReference": true, 108 | "foreignKeyAttribute": { 109 | "name": "PropertyLocationStatusId", 110 | "purpose": "identifiedBy", 111 | "dataType": "integer", 112 | "displayName": "Property Location Status ID", 113 | "description": "The unique identifier of a Facility Floorplan Location Status." 114 | } 115 | } 116 | } 117 | } 118 | ], 119 | "displayName": "Property Location Status", 120 | "description": "The status of a specific Property Location." 121 | } 122 | ] 123 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/ExtraordinaryRepairType.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "ExtraordinaryRepairType", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "WorkOrderId", 15 | "purpose": "hasA", 16 | "dataType": "integer", 17 | "displayName": "WorkOrderId", 18 | "description": "The unique identifier of a Work Order\n" 19 | }, 20 | { 21 | "name": "ContractId", 22 | "purpose": "hasA", 23 | "dataType": "integer", 24 | "displayName": "ContractId", 25 | "description": "The unique identifier of a Contract.\n" 26 | }, 27 | { 28 | "name": "VendorId", 29 | "purpose": "hasA", 30 | "dataType": "integer", 31 | "displayName": "VendorId", 32 | "description": "The unique identifier of a Vendor.\n" 33 | }, 34 | { 35 | "name": "RepairNote", 36 | "purpose": "hasA", 37 | "dataType": "string", 38 | "displayName": "RepairNote", 39 | "description": "Notes, comments or additional information regarding Extraordinary Repairs.\n", 40 | "maximumLength": 512 41 | }, 42 | { 43 | "name": "RepairActualCost", 44 | "purpose": "hasA", 45 | "dataType": "decimal", 46 | "displayName": "RepairActualCost", 47 | "description": "The actual cost of the Repair.\n" 48 | }, 49 | { 50 | "name": "RepairEstimatedCost", 51 | "purpose": "hasA", 52 | "dataType": "decimal", 53 | "displayName": "RepairEstimatedCost", 54 | "description": "The estimated cost of the Repair.\n" 55 | }, 56 | { 57 | "name": "RepairCompletedTimestamp", 58 | "purpose": "hasA", 59 | "dataType": "date", 60 | "displayName": "RepairCompletedTimestamp", 61 | "description": "The timestamp that the Repair was completed.\n" 62 | }, 63 | { 64 | "name": "RepairStartedTimestamp", 65 | "purpose": "hasA", 66 | "dataType": "date", 67 | "displayName": "RepairStartedTimestamp", 68 | "description": "The timestamp that Repair actually was started.\n" 69 | }, 70 | { 71 | "name": "RepairPlannedTimestamp", 72 | "purpose": "hasA", 73 | "dataType": "date", 74 | "displayName": "RepairPlannedTimestamp", 75 | "description": "The timestamp that the Repair was planned to start.\n" 76 | }, 77 | { 78 | "name": "RepairDescription", 79 | "purpose": "hasA", 80 | "dataType": "string", 81 | "displayName": "RepairDescription", 82 | "description": "The description of a Repair.\n", 83 | "maximumLength": 512 84 | }, 85 | { 86 | "name": "AssetId", 87 | "purpose": "hasA", 88 | "dataType": "integer", 89 | "displayName": "AssetId", 90 | "description": "" 91 | }, 92 | { 93 | "name": "ExtraordinaryRepairTypeId", 94 | "purpose": "identifiedBy", 95 | "dataType": "integer", 96 | "displayName": "Extraordinary Repair Type ID", 97 | "description": "The unique identifier of an Extraordinary Repairs Type." 98 | }, 99 | { 100 | "name": "ExtraordinaryRepairTypeName", 101 | "purpose": "hasA", 102 | "dataType": "string", 103 | "isNullable": true, 104 | "displayName": "Extraordinary Repair Type Name", 105 | "description": "The name of an Extraordinary Repairs Type.", 106 | "maximumLength": 128 107 | }, 108 | { 109 | "name": "ExtraordinaryRepairTypeDescription", 110 | "purpose": "hasA", 111 | "dataType": "string", 112 | "isNullable": true, 113 | "displayName": "Extraordinary Repair Type Description", 114 | "description": "The description of an Extraordinary Repairs Type.", 115 | "maximumLength": 512 116 | } 117 | ], 118 | "displayName": "ExtraordinaryRepairType", 119 | "description": "A classification or categorization of types of Extraordinary Repairs based upon common characteristics or functions performed.\n\nThis would be dependent upon the type of Asset.\n\nEx:\n- Upgrade\n- Overhaul\n- Value Retrofit" 120 | } 121 | ] 122 | } -------------------------------------------------------------------------------- /AuditCDMV2/businessUnit.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "2.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "cdm:/foundations.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "businessUnit", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | [ 14 | { 15 | "name": "businessUnitCode", 16 | "purpose": "identifiedBy", 17 | "dataType": "string", 18 | "isNullable": false, 19 | "displayName": "businessUnitCode", 20 | "description": "Used to identify the business unit, region, branch, and so on at the level that financial statements are being audited and for which the trial balance is generated. For example, you may use a code aligned with the concept of a reportable segment as defined in FASB Accounting Standards Codification (ASC) 280, Segment Reporting." 21 | }, 22 | { 23 | "name": "businessUnitDescription", 24 | "purpose": "hasA", 25 | "dataType": "string", 26 | "isNullable": true, 27 | "displayName": "businessUnitDescription", 28 | "description": "Business unit (plain English) description to indicate the name or other identifying characteristics of the business unit." 29 | }, 30 | { 31 | "name": "businessUnitHierarchy1", 32 | "purpose": "hasA", 33 | "dataType": "string", 34 | "isNullable": true, 35 | "displayName": "businessUnitHierarchy1", 36 | "description": "If a hierarchy exists in the business unit structure, use the field to capture the highest level of the hierarchy (for example, global area with values such as North America, South America, Europe, the Middle East, Africa, the Far East, and so on)." 37 | }, 38 | { 39 | "name": "businessUnitHierarchy2", 40 | "purpose": "hasA", 41 | "dataType": "string", 42 | "isNullable": true, 43 | "displayName": "businessUnitHierarchy2", 44 | "description": "If a hierarchy exists in the business unit structure, use the field to capture the next lower level of the hierarchy (for example, regions with values such as East Coast, West Coast, Central-Western Europe, and so on)." 45 | }, 46 | { 47 | "name": "businessUnitHierarchy3", 48 | "purpose": "hasA", 49 | "dataType": "string", 50 | "isNullable": true, 51 | "displayName": "businessUnitHierarchy3", 52 | "description": "If a hierarchy exists in the business unit structure, use the field to capture the next lower level of the hierarchy (for example, cities with values such as Los Angeles, Boston, Frankfurt, and so on)." 53 | }, 54 | { 55 | "name": "businessUnitHierarchy4", 56 | "purpose": "hasA", 57 | "dataType": "string", 58 | "isNullable": true, 59 | "displayName": "businessUnitHierarchy4", 60 | "description": "If a hierarchy exists in the business unit structure, use the field to capture the next lower level of the hierarchy." 61 | }, 62 | { 63 | "name": "businessUnitHierarchy5", 64 | "purpose": "hasA", 65 | "dataType": "string", 66 | "isNullable": true, 67 | "displayName": "businessUnitHierarchy5", 68 | "description": "If a hierarchy exists in the business unit structure, use the field to capture the next lower level of the hierarchy." 69 | }, 70 | { 71 | "name": "legalEntityIdentifier", 72 | "purpose": "hasA", 73 | "dataType": "string", 74 | "isNullable": true, 75 | "displayName": "legalEntityIdentifier", 76 | "description": "third party registration number given by local authorities/local regulators Eg: Company registration number" 77 | } 78 | ] 79 | ], 80 | "displayName": "businessUnit", 81 | "description": "" 82 | } 83 | ] 84 | } -------------------------------------------------------------------------------- /AuditCDMV3/businessUnit.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "3.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "cdm:/foundations.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "businessUnit", 11 | "extendsEntity": "CdmEntity", 12 | "attributes": [ 13 | { 14 | "name": "businessUnitCode", 15 | "purpose": "hasA", 16 | "dataType": "string", 17 | "isNullable": false, 18 | "display_name": "businessUnitCode", 19 | "description": "Used to identify the business unit, region, branch, etc. at the level that financial statements are being audited and for which the trial balance is generated. For example, you may use a code aligned with the concept of a reportable segment as defined in FASB Accounting Standards Codification (ASC) 280, Segment Reporting." 20 | }, 21 | { 22 | "name": "businessUnitDescription", 23 | "purpose": "hasA", 24 | "dataType": "string", 25 | "isNullable": false, 26 | "display_name": "businessUnitDescription", 27 | "description": "Business unit (plain language) description to indicate the name or other identifying characteristics of the business unit." 28 | }, 29 | { 30 | "name": "businessUnitHierarchy1", 31 | "purpose": "hasA", 32 | "dataType": "string", 33 | "isNullable": false, 34 | "display_name": "businessUnitHierarchy1", 35 | "description": "If a hierarchy exists in the business unit structure, use the field to capture the highest level of the hierarchy, e.g. global area with values such as North America, South America, Europe, the Middle East, Africa, the Far East, etc." 36 | }, 37 | { 38 | "name": "businessUnitHierarchy2", 39 | "purpose": "hasA", 40 | "dataType": "string", 41 | "isNullable": false, 42 | "display_name": "businessUnitHierarchy2", 43 | "description": "If a hierarchy exists in the business unit structure, use the field to capture the next lower level of the hierarchy, e.g. regions with values such as East Coast, West Coast, Central-Western Europe, etc." 44 | }, 45 | { 46 | "name": "businessUnitHierarchy3", 47 | "purpose": "hasA", 48 | "dataType": "string", 49 | "isNullable": false, 50 | "display_name": "businessUnitHierarchy3", 51 | "description": "If a hierarchy exists in the business unit structure, use the field to capture the next lower level of the hierarchy, e.g. cities with values such as Los Angeles, Boston, Frankfurt, etc." 52 | }, 53 | { 54 | "name": "businessUnitHierarchy4", 55 | "purpose": "hasA", 56 | "dataType": "string", 57 | "isNullable": false, 58 | "display_name": "businessUnitHierarchy4", 59 | "description": "If a hierarchy exists in the business unit structure, use the field to capture the next lower level of the hierarchy." 60 | }, 61 | { 62 | "name": "businessUnitHierarchy5", 63 | "purpose": "hasA", 64 | "dataType": "string", 65 | "isNullable": false, 66 | "display_name": "businessUnitHierarchy5", 67 | "description": "If a hierarchy exists in the business unit structure, use the field to capture the next lower level of the hierarchy." 68 | }, 69 | { 70 | "name": "legalEntityIdentifier", 71 | "purpose": "hasA", 72 | "dataType": "string", 73 | "isNullable": false, 74 | "display_name": "legalEntityIdentifier", 75 | "description": "Third party registration number given by local authorities / local regulators, e.g. company registration number." 76 | }, 77 | { 78 | "name": "userDefined1", 79 | "purpose": "hasA", 80 | "dataType": "string", 81 | "isNullable": false, 82 | "display_name": "userDefined1", 83 | "description": "Having a function or role that is defined and gets varied from user to user." 84 | }, 85 | { 86 | "name": "userDefined2", 87 | "purpose": "hasA", 88 | "dataType": "string", 89 | "isNullable": false, 90 | "display_name": "userDefined2", 91 | "description": "Having a function or role that is defined and gets varied from user to user." 92 | } 93 | ] 94 | } 95 | ] 96 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/meanings.concepts.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "$schema": "./schema.cdm.json", 4 | "imports": [ 5 | { 6 | "corpusPath": "/primitives.cdm.json" 7 | } 8 | ], 9 | "definitions": [ 10 | { 11 | "traitName": "means.idea", 12 | "extendsTrait": "means" 13 | }, 14 | { 15 | "traitName": "means.idea.account", 16 | "extendsTrait": "means.idea" 17 | }, 18 | { 19 | "traitName": "means.idea.channel", 20 | "extendsTrait": "means.idea" 21 | }, 22 | { 23 | "traitName": "means.idea.company", 24 | "extendsTrait": "means.idea" 25 | }, 26 | { 27 | "traitName": "means.idea.customer", 28 | "extendsTrait": "means.idea" 29 | }, 30 | { 31 | "traitName": "means.idea.person", 32 | "extendsTrait": "means.idea" 33 | }, 34 | { 35 | "traitName": "means.idea.person.contact", 36 | "extendsTrait": "means.idea.person" 37 | }, 38 | { 39 | "traitName": "means.idea.person.employee", 40 | "extendsTrait": "means.idea.person" 41 | }, 42 | { 43 | "traitName": "means.idea.person.representative", 44 | "extendsTrait": "means.idea.person" 45 | }, 46 | { 47 | "traitName": "means.idea.organization", 48 | "extendsTrait": "means.idea" 49 | }, 50 | { 51 | "traitName": "means.idea.organization.unit", 52 | "extendsTrait": "means.idea" 53 | }, 54 | { 55 | "traitName": "means.idea.product", 56 | "extendsTrait": "means.idea" 57 | }, 58 | { 59 | "traitName": "means.idea.project", 60 | "extendsTrait": "means.idea" 61 | }, 62 | { 63 | "traitName": "means.idea.promotion", 64 | "extendsTrait": "means.idea" 65 | }, 66 | { 67 | "traitName": "means.idea.scenario", 68 | "extendsTrait": "means.idea" 69 | }, 70 | { 71 | "traitName": "means.idea.schedule", 72 | "extendsTrait": "means.idea" 73 | }, 74 | { 75 | "traitName": "means.idea.service ", 76 | "extendsTrait": "means.idea" 77 | }, 78 | { 79 | "traitName": "means.idea.utility", 80 | "extendsTrait": "means.idea" 81 | }, 82 | { 83 | "traitName": "means.category", 84 | "extendsTrait": "means" 85 | }, 86 | { 87 | "traitName": "means.relationship", 88 | "extendsTrait": "means" 89 | }, 90 | { 91 | "traitName": "means.relationship.parent", 92 | "extendsTrait": "means.relationship" 93 | }, 94 | { 95 | "traitName": "means.relationship.child", 96 | "extendsTrait": "means.relationship" 97 | }, 98 | { 99 | "traitName": "means.reference", 100 | "extendsTrait": "means" 101 | }, 102 | { 103 | "traitName": "means.reference.caption", 104 | "extendsTrait": "means.reference" 105 | }, 106 | { 107 | "traitName": "means.reference.displayText", 108 | "extendsTrait": "means.reference" 109 | }, 110 | { 111 | "traitName": "means.reference.description", 112 | "extendsTrait": "means.reference" 113 | }, 114 | { 115 | "traitName": "means.reference.definition", 116 | "extendsTrait": "means.reference" 117 | }, 118 | { 119 | "traitName": "means.reference.phonetic", 120 | "extendsTrait": "means.reference" 121 | }, 122 | { 123 | "traitName": "means.reference.regarding", 124 | "extendsTrait": "means.reference" 125 | }, 126 | { 127 | "traitName": "means.reference.URL", 128 | "extendsTrait": "means.reference" 129 | }, 130 | { 131 | "traitName": "means.reference.URL.image", 132 | "extendsTrait": "means.reference.URL" 133 | }, 134 | { 135 | "traitName": "means.reference.language", 136 | "extendsTrait": "means.reference" 137 | }, 138 | { 139 | "traitName": "means.reference.language.tag", 140 | "extendsTrait": "means.reference.language" 141 | }, 142 | { 143 | "explanation": "a language identifier", 144 | "dataTypeName": "language", 145 | "extendsDataType": "string", 146 | "exhibitsTraits": [ 147 | "means.reference.language" 148 | ] 149 | }, 150 | { 151 | "explanation": "a BCP 47 language tag", 152 | "dataTypeName": "languageTag", 153 | "extendsDataType": "string", 154 | "exhibitsTraits": [ 155 | "means.reference.language.tag" 156 | ] 157 | }, 158 | { 159 | "dataTypeName": "localizedDisplayText", 160 | "extendsDataType": "string", 161 | "exhibitsTraits": [ 162 | "means.reference.displayText" 163 | ] 164 | }, 165 | { 166 | "dataTypeName": "localizedDisplayTextMultiple", 167 | "extendsDataType": "localizedDisplayText", 168 | "exhibitsTraits": [ 169 | "means.content.text.CSV" 170 | ] 171 | }, 172 | { 173 | "dataTypeName": "url", 174 | "extendsDataType": "string", 175 | "exhibitsTraits": [ 176 | "means.reference.URL" 177 | ] 178 | } 179 | ] 180 | } -------------------------------------------------------------------------------- /Archive/AuditCDM/employeeMasterData.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "cdm:/foundations.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "employeeMasterData", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "departmentCode", 15 | "purpose": "hasA", 16 | "dataType": "string", 17 | "isNullable": true, 18 | "displayName": "departmentCode", 19 | "description": "Code for department rosters. EXAMPLE the department name is IT department, the code is 0018" 20 | }, 21 | { 22 | "name": "employeeDateOfBirth", 23 | "purpose": "hasA", 24 | "dataType": "date", 25 | "isNullable": true, 26 | "displayName": "employeeDateOfBirth", 27 | "description": "Date of Birth of the employee" 28 | }, 29 | { 30 | "name": "employeeFirstName", 31 | "purpose": "hasA", 32 | "dataType": "string", 33 | "isNullable": true, 34 | "displayName": "employeeFirstName", 35 | "description": "Name of the employee \n" 36 | }, 37 | { 38 | "name": "employeeId", 39 | "purpose": "identifiedBy", 40 | "dataType": "string", 41 | "displayName": "employeeId", 42 | "description": "Unique identifier for an employee. Typically auto-generated by the system \n" 43 | }, 44 | { 45 | "name": "employeeJobTitle", 46 | "purpose": "hasA", 47 | "dataType": "string", 48 | "isNullable": true, 49 | "displayName": "employeeJobTitle", 50 | "description": "Job title of a person in an accounting unit. EXAMPLE Accounting manger \n" 51 | }, 52 | { 53 | "name": "employeeLastName", 54 | "purpose": "hasA", 55 | "dataType": "string", 56 | "isNullable": true, 57 | "displayName": "employeeLastName", 58 | "description": "Last name of the employee \n" 59 | }, 60 | { 61 | "name": "employeeMiddleName", 62 | "purpose": "hasA", 63 | "dataType": "string", 64 | "isNullable": true, 65 | "displayName": "employeeMiddleName", 66 | "description": "Middle name of the employee " 67 | }, 68 | { 69 | "name": "employeeRefCode", 70 | "purpose": "hasA", 71 | "dataType": "string", 72 | "isNullable": true, 73 | "displayName": "employeeRefCode", 74 | "description": "Code for employee. Each employee has only one code. If someone has part-time jobs in multiple departments, there will be more than one record with different Employee_ID in this table. The part-time status will be reflected in EmployeeTypeCode" 75 | }, 76 | { 77 | "name": "employmentStartDate", 78 | "purpose": "hasA", 79 | "dataType": "date", 80 | "isNullable": true, 81 | "displayName": "employmentStartDate", 82 | "description": "Employment start date of the employee \n" 83 | }, 84 | { 85 | "name": "employmentTerminationDate", 86 | "purpose": "hasA", 87 | "dataType": "date", 88 | "isNullable": true, 89 | "displayName": "employmentTerminationDate", 90 | "description": "Termination date of the employee from when the labour contract was no longer valid, or from when the employee no longer works in this department \n" 91 | }, 92 | { 93 | "name": "employmentTypeCode", 94 | "purpose": "hasA", 95 | "dataType": "string", 96 | "isNullable": true, 97 | "displayName": "employmentTypeCode", 98 | "description": "Code for the employee type. EXAMPLE 004 is an on-the-job employee, 005 is a retired employee 006 is a deceased employee.\n" 99 | }, 100 | { 101 | "name": "employmentTypeName", 102 | "purpose": "hasA", 103 | "dataType": "string", 104 | "isNullable": true, 105 | "displayName": "employmentTypeName", 106 | "description": "Name of the employee type. Example Employed, retired, probation, part time. \n" 107 | }, 108 | { 109 | "name": "isActiveFlag", 110 | "purpose": "hasA", 111 | "dataType": "string", 112 | "isNullable": true, 113 | "displayName": "isActiveFlag", 114 | "description": "Indicates whether one employee is active or inactive. An employee can become inactive due to various reasons (i.e sabbatical leave)\n" 115 | }, 116 | { 117 | "name": "userId", 118 | "purpose": "hasA", 119 | "dataType": "string", 120 | "isNullable": true, 121 | "displayName": "userId", 122 | "description": "A unique identifier of individuals entering transactions into the ERP system. This field is used to join information in this table to other tables based on the fields Entered_By, Last_Modified_By, and Approved_By.\n" 123 | } 124 | ], 125 | "displayName": "employeeMasterData", 126 | "description": "" 127 | } 128 | ] 129 | } -------------------------------------------------------------------------------- /AuditCDMV2/taxTable.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "2.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "cdm:/foundations.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "taxTable", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | [ 14 | { 15 | "name": "regulatorActiveFlag", 16 | "purpose": "hasA", 17 | "dataType": "string", 18 | "isNullable": true, 19 | "displayName": "regulatorActiveFlag", 20 | "description": "True (Active) or False (Inactive)" 21 | }, 22 | { 23 | "name": "regulatorCode", 24 | "purpose": "identifiedBy", 25 | "dataType": "string", 26 | "isNullable": false, 27 | "displayName": "regulatorCode", 28 | "description": "A code used to refer to this regulator or jurisdiction; used as key or cross-reference in files." 29 | }, 30 | { 31 | "name": "regulatorCountry", 32 | "purpose": "hasA", 33 | "dataType": "string", 34 | "isNullable": true, 35 | "displayName": "regulatorCountry", 36 | "description": "Recommend ISO 3166-1 Alpha 2 or Alpha 3 format" 37 | }, 38 | { 39 | "name": "regulatorDefaultAccrualGlAccountNumber", 40 | "purpose": "hasA", 41 | "dataType": "string", 42 | "isNullable": true, 43 | "displayName": "regulatorDefaultAccrualGlAccountNumber", 44 | "description": "GL account used to reflect accruals due to regulator" 45 | }, 46 | { 47 | "name": "regulatorDefaultExpenseGlAccountNumber", 48 | "purpose": "hasA", 49 | "dataType": "string", 50 | "isNullable": true, 51 | "displayName": "regulatorDefaultExpenseGlAccountNumber", 52 | "description": "GL account used to reflect the tax expenses incurred." 53 | }, 54 | { 55 | "name": "regulatorDefaultPayableGlAccountNumber", 56 | "purpose": "hasA", 57 | "dataType": "string", 58 | "isNullable": true, 59 | "displayName": "regulatorDefaultPayableGlAccountNumber", 60 | "description": "GL account used to reflect taxes due to regulator" 61 | }, 62 | { 63 | "name": "regulatorIdentifier", 64 | "purpose": "hasA", 65 | "dataType": "string", 66 | "isNullable": true, 67 | "displayName": "regulatorIdentifier", 68 | "description": "Tax or other code assigned by Regulator for reporting organization to Regulator" 69 | }, 70 | { 71 | "name": "regulatorName", 72 | "purpose": "hasA", 73 | "dataType": "string", 74 | "isNullable": true, 75 | "displayName": "regulatorName", 76 | "description": "Name of regulator for whom tax is withheld or accrued" 77 | }, 78 | { 79 | "name": "regulatorRegion", 80 | "purpose": "hasA", 81 | "dataType": "string", 82 | "isNullable": true, 83 | "displayName": "regulatorRegion", 84 | "description": "Sub-region within country; in the U.S., this would be state; in Canada it would be province." 85 | }, 86 | { 87 | "name": "regulatorReportingOrganization", 88 | "purpose": "hasA", 89 | "dataType": "string", 90 | "isNullable": true, 91 | "displayName": "regulatorReportingOrganization", 92 | "description": "Cross-reference to Organization_Location_File_YYYYMMDD" 93 | }, 94 | { 95 | "name": "regulatorRole", 96 | "purpose": "hasA", 97 | "dataType": "string", 98 | "isNullable": true, 99 | "displayName": "regulatorRole", 100 | "description": "From: Federal, Regional, Local" 101 | } 102 | ] 103 | ], 104 | "displayName": "taxTable", 105 | "description": "" 106 | } 107 | ] 108 | } -------------------------------------------------------------------------------- /Archive/AuditCDM/chartOfAccounts.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "cdm:/foundations.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "ChartOfAccounts", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "accountSubtype", 15 | "purpose": "hasA", 16 | "dataType": "string", 17 | "isNullable": true, 18 | "displayName": "accountSubtype", 19 | "description": "Grouping for lower-level categories on the financial statements. Examples include reserve account, suspense account, intercompany account, and so on." 20 | }, 21 | { 22 | "name": "accountType", 23 | "purpose": "hasA", 24 | "dataType": "string", 25 | "isNullable": true, 26 | "displayName": "accountType", 27 | "description": "Grouping for high-level category on the financial statements. Values should be assets, liabilities, equity, revenue, expenses, and so on." 28 | }, 29 | { 30 | "name": "businessUnitCode", 31 | "purpose": "hasA", 32 | "dataType": "string", 33 | "isNullable": true, 34 | "displayName": "businessUnitCode", 35 | "description": "Used to identify the business unit, region, branch, and so on at the level that financial statements are being audited and for which the trial balance is generated. For example, you may use a code aligned with the concept of a reportable segment as defined in FASB Accounting Standards Codification (ASC) 280, Segment Reporting." 36 | }, 37 | { 38 | "name": "fsCaption", 39 | "purpose": "hasA", 40 | "dataType": "string", 41 | "isNullable": true, 42 | "displayName": "fsCaption", 43 | "description": "Financial statement caption. Grouping\nfor the caption the GL account rolls up\nto on the financial statements (for\nexample, cash and cash equivalents,\naccounts payable, cost of sales, and so\non). Sometimes may prefer to be at the\ntrial balance level." 44 | }, 45 | { 46 | "name": "glAccountDescription", 47 | "purpose": "hasA", 48 | "dataType": "string", 49 | "isNullable": true, 50 | "displayName": "glAccountDescription", 51 | "description": "Label or description associated with\nGL_Account_Number." 52 | }, 53 | { 54 | "name": "glAccountName", 55 | "purpose": "hasA", 56 | "dataType": "string", 57 | "isNullable": true, 58 | "displayName": "glAccountName", 59 | "description": "Name for the GL account." 60 | }, 61 | { 62 | "name": "glAccountNumber", 63 | "purpose": "identifiedBy", 64 | "dataType": "string", 65 | "displayName": "glAccountNumber", 66 | "description": "Identifier for the GL financial quarterly periods. GL_Account_Number in this file must match the GL_Account_Number used in the Trial_Balance and Chart_Of_Accounts files." 67 | }, 68 | { 69 | "name": "parentglAccountNumber", 70 | "purpose": "hasA", 71 | "dataType": "string", 72 | "isNullable": true, 73 | "displayName": "parentglAccountNumber", 74 | "description": "A reference to the\nGL_Account_Number that is the parent\nin an account hierarchy. Provided to\nallow more than the predefined levels of\nhierarchy in the chart of accounts table." 75 | }, 76 | { 77 | "name": "segment01", 78 | "purpose": "hasA", 79 | "dataType": "string", 80 | "isNullable": true, 81 | "displayName": "segment01", 82 | "description": "Reserved segment field that can be used for \nprofit center, division, fund, program,\nbranch, project, and so on." 83 | }, 84 | { 85 | "name": "segment02", 86 | "purpose": "hasA", 87 | "dataType": "string", 88 | "isNullable": true, 89 | "displayName": "segment02", 90 | "description": "Reserved segment field that can be used for \nprofit center, division, fund, program,\nbranch, project, and so on." 91 | }, 92 | { 93 | "name": "segment03", 94 | "purpose": "hasA", 95 | "dataType": "string", 96 | "isNullable": true, 97 | "displayName": "segment03", 98 | "description": "Reserved segment field that can be used for \nprofit center, division, fund, program,\nbranch, project, and so on." 99 | }, 100 | { 101 | "name": "segment04", 102 | "purpose": "hasA", 103 | "dataType": "string", 104 | "isNullable": true, 105 | "displayName": "segment04", 106 | "description": "Reserved segment field that can be used for \nprofit center, division, fund, program,\nbranch, project, and so on." 107 | }, 108 | { 109 | "name": "segment05", 110 | "purpose": "hasA", 111 | "dataType": "string", 112 | "isNullable": true, 113 | "displayName": "segment05", 114 | "description": "Reserved segment field that can be used for \nprofit center, division, fund, program,\nbranch, project, and so on." 115 | } 116 | ], 117 | "displayName": "ChartOfAccounts", 118 | "description": "" 119 | } 120 | ] 121 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/PropertyLocationCost.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "PropertyLocationCost", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "PropertyLocationCostStartDate", 15 | "purpose": "identifiedBy", 16 | "dataType": "date", 17 | "displayName": "Property Location Cost Start Date", 18 | "description": "The date that the cost was first allocated to the property location." 19 | }, 20 | { 21 | "name": "PropertyLocationCostEndDate", 22 | "purpose": "hasA", 23 | "dataType": "date", 24 | "isNullable": true, 25 | "displayName": "Property Location Cost End Date", 26 | "description": "The date that the cost was last allocated to the property location." 27 | }, 28 | { 29 | "name": "PropertyLocationCostPerUse", 30 | "purpose": "hasA", 31 | "dataType": "decimal", 32 | "appliedTraits": [ 33 | { 34 | "traitReference": "is.dataFormat.numeric.shaped", 35 | "arguments": [ 36 | { 37 | "name": "precision", 38 | "value": 13 39 | }, 40 | { 41 | "name": "scale", 42 | "value": 2 43 | } 44 | ] 45 | } 46 | ], 47 | "isNullable": true, 48 | "displayName": "Property Location Cost Per Use", 49 | "description": "The cost of the property location for each use.", 50 | "maximumLength": 13 51 | }, 52 | { 53 | "name": "PropertyLocationCostPerUnitOfTime", 54 | "purpose": "hasA", 55 | "dataType": "decimal", 56 | "appliedTraits": [ 57 | { 58 | "traitReference": "is.dataFormat.numeric.shaped", 59 | "arguments": [ 60 | { 61 | "name": "precision", 62 | "value": 13 63 | }, 64 | { 65 | "name": "scale", 66 | "value": 2 67 | } 68 | ] 69 | } 70 | ], 71 | "isNullable": true, 72 | "displayName": "Property Location Cost Per Unit Of Time", 73 | "description": "The cost of the property location for each unit of time.", 74 | "maximumLength": 13 75 | }, 76 | { 77 | "name": "UnitOfMeasureId", 78 | "purpose": "hasA", 79 | "dataType": "integer", 80 | "isNullable": true, 81 | "displayName": "Unit Of Measure ID", 82 | "description": "The unique identifier of a Unit Of Measure." 83 | }, 84 | { 85 | "name": "PropertyLocationCostNote", 86 | "purpose": "hasA", 87 | "dataType": "string", 88 | "isNullable": true, 89 | "displayName": "Property Location Cost Note", 90 | "description": "A note, comment or additional information regarding the Property Location Cost.", 91 | "maximumLength": 1024 92 | }, 93 | { 94 | "entity": { 95 | "entityReference": "PropertyLocation", 96 | "appliedTraits": [ 97 | { 98 | "traitReference": "is.identifiedBy", 99 | "arguments": [ 100 | "PropertyLocation/(resolvedAttributes)/PropertyId" 101 | ] 102 | } 103 | ] 104 | }, 105 | "name": "PropertyId", 106 | "resolutionGuidance": { 107 | "renameFormat": "{m}", 108 | "entityByReference": { 109 | "allowReference": true, 110 | "foreignKeyAttribute": { 111 | "name": "PropertyId", 112 | "purpose": "identifiedBy", 113 | "dataType": "integer", 114 | "displayName": "Property ID", 115 | "description": "The unique identifier of a Property." 116 | } 117 | } 118 | } 119 | }, 120 | { 121 | "entity": { 122 | "entityReference": "PropertyLocation", 123 | "appliedTraits": [ 124 | { 125 | "traitReference": "is.identifiedBy", 126 | "arguments": [ 127 | "PropertyLocation/(resolvedAttributes)/PropertyLocationId" 128 | ] 129 | } 130 | ] 131 | }, 132 | "name": "PropertyLocationId", 133 | "resolutionGuidance": { 134 | "renameFormat": "{m}", 135 | "entityByReference": { 136 | "allowReference": true, 137 | "foreignKeyAttribute": { 138 | "name": "PropertyLocationId", 139 | "purpose": "identifiedBy", 140 | "dataType": "integer", 141 | "displayName": "Property Location ID", 142 | "description": "The unique identifier of a Property Location." 143 | } 144 | } 145 | } 146 | } 147 | ], 148 | "displayName": "Property Location Cost", 149 | "description": "The cost associated with utilizing the property location." 150 | } 151 | ] 152 | } -------------------------------------------------------------------------------- /AuditCDMV3/taxTable.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "3.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "cdm:/foundations.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "taxTable", 11 | "extendsEntity": "CdmEntity", 12 | "attributes": [ 13 | { 14 | "name": "regulatorActiveFlag", 15 | "purpose": "hasA", 16 | "dataType": "string", 17 | "isNullable": false, 18 | "display_name": "regulatorActiveFlag", 19 | "description": "True (Active) or False (Inactive)." 20 | }, 21 | { 22 | "name": "regulatorCode", 23 | "purpose": "hasA", 24 | "dataType": "string", 25 | "isNullable": false, 26 | "display_name": "regulatorCode", 27 | "description": "A code used to refer to this regulator or jurisdiction; used as key or cross-reference in files." 28 | }, 29 | { 30 | "name": "regulatorCountry", 31 | "purpose": "hasA", 32 | "dataType": "string", 33 | "isNullable": false, 34 | "display_name": "regulatorCountry", 35 | "description": "Two-letter country code according to ISO 3166-1 alpha 2 standard, e.g. NL for the Netherlands." 36 | }, 37 | { 38 | "name": "regulatorDefaultAccrualGlAccountNumber", 39 | "purpose": "hasA", 40 | "dataType": "string", 41 | "isNullable": false, 42 | "display_name": "regulatorDefaultAccrualGlAccountNumber", 43 | "description": "GL account used to reflect accruals due to regulator." 44 | }, 45 | { 46 | "name": "regulatorDefaultExpenseGlAccountNumber", 47 | "purpose": "hasA", 48 | "dataType": "string", 49 | "isNullable": false, 50 | "display_name": "regulatorDefaultExpenseGlAccountNumber", 51 | "description": "GL account used to reflect the tax expenses incurred." 52 | }, 53 | { 54 | "name": "regulatorDefaultPayableGlAccountNumber", 55 | "purpose": "hasA", 56 | "dataType": "string", 57 | "isNullable": false, 58 | "display_name": "regulatorDefaultPayableGlAccountNumber", 59 | "description": "GL account used to reflect taxes due to regulator." 60 | }, 61 | { 62 | "name": "regulatorIdentifier", 63 | "purpose": "hasA", 64 | "dataType": "string", 65 | "isNullable": false, 66 | "display_name": "regulatorIdentifier", 67 | "description": "Tax or other code assigned by regulator for reporting organization to regulator." 68 | }, 69 | { 70 | "name": "regulatorName", 71 | "purpose": "hasA", 72 | "dataType": "string", 73 | "isNullable": false, 74 | "display_name": "regulatorName", 75 | "description": "Name of regulator for whom tax is withheld or accrued." 76 | }, 77 | { 78 | "name": "regulatorRegion", 79 | "purpose": "hasA", 80 | "dataType": "string", 81 | "isNullable": false, 82 | "display_name": "regulatorRegion", 83 | "description": "Sub-region within country; in the USA, this would be state; in Canada it would be province." 84 | }, 85 | { 86 | "name": "regulatorReportingOrganization", 87 | "purpose": "hasA", 88 | "dataType": "string", 89 | "isNullable": false, 90 | "display_name": "regulatorReportingOrganization", 91 | "description": "Organisation to which the regulator reports" 92 | }, 93 | { 94 | "name": "regulatorRole", 95 | "purpose": "hasA", 96 | "dataType": "string", 97 | "isNullable": false, 98 | "display_name": "regulatorRole", 99 | "description": "From: Federal, Regional, Local." 100 | }, 101 | { 102 | "name": "userDefined1", 103 | "purpose": "hasA", 104 | "dataType": "string", 105 | "isNullable": false, 106 | "display_name": "userDefined1", 107 | "description": "Having a function or role that is defined and gets varied from user to user." 108 | }, 109 | { 110 | "name": "userDefined2", 111 | "purpose": "hasA", 112 | "dataType": "string", 113 | "isNullable": false, 114 | "display_name": "userDefined2", 115 | "description": "Having a function or role that is defined and gets varied from user to user." 116 | } 117 | ] 118 | } 119 | ] 120 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/meanings.identity.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "$schema": "./schema.cdm.json", 4 | "imports": [ 5 | { 6 | "corpusPath": "/primitives.cdm.json" 7 | } 8 | ], 9 | "definitions": [ 10 | { 11 | "traitName": "means.identity.barCode", 12 | "extendsTrait": "means.identity" 13 | }, 14 | { 15 | "traitName": "means.identity.brand", 16 | "extendsTrait": "means.identity" 17 | }, 18 | { 19 | "traitName": "means.identity.governmentID", 20 | "extendsTrait": "means.identity" 21 | }, 22 | { 23 | "traitName": "means.identity.name", 24 | "extendsTrait": "means.identity" 25 | }, 26 | { 27 | "traitName": "means.identity.company.name", 28 | "extendsTrait": "means.identity.name" 29 | }, 30 | { 31 | "traitName": "means.identity.person.firstName", 32 | "extendsTrait": "means.identity.name" 33 | }, 34 | { 35 | "traitName": "means.identity.person.fullName", 36 | "extendsTrait": "means.identity.name" 37 | }, 38 | { 39 | "traitName": "means.identity.person.lastName", 40 | "extendsTrait": "means.identity.name" 41 | }, 42 | { 43 | "traitName": "means.identity.person.middleName", 44 | "extendsTrait": "means.identity.name" 45 | }, 46 | { 47 | "traitName": "means.identity.rowNumber", 48 | "extendsTrait": "means.identity" 49 | }, 50 | { 51 | "traitName": "means.identity.scd.originalIdentity", 52 | "extendsTrait": "means.identity" 53 | }, 54 | { 55 | "traitName": "means.identity.scd.surogateIdentity", 56 | "extendsTrait": "means.identity" 57 | }, 58 | { 59 | "traitName": "means.identity.service", 60 | "extendsTrait": "means.identity" 61 | }, 62 | { 63 | "traitName": "means.identity.service.email", 64 | "extendsTrait": "means.identity" 65 | }, 66 | { 67 | "traitName": "means.identity.service.facebook", 68 | "extendsTrait": "means.identity" 69 | }, 70 | { 71 | "traitName": "means.identity.service.phone", 72 | "extendsTrait": "means.identity" 73 | }, 74 | { 75 | "traitName": "means.identity.service.phone.cell", 76 | "extendsTrait": "means.identity" 77 | }, 78 | { 79 | "traitName": "means.identity.service.phone.fax", 80 | "extendsTrait": "means.identity" 81 | }, 82 | { 83 | "traitName": "means.identity.service.twitter", 84 | "extendsTrait": "means.identity" 85 | }, 86 | { 87 | "traitName": "means.identity.SKU", 88 | "extendsTrait": "means.identity" 89 | }, 90 | { 91 | "traitName": "means.identity.tickerSymbol", 92 | "extendsTrait": "means.identity" 93 | }, 94 | { 95 | "traitName": "means.identity.title", 96 | "extendsTrait": "means.identity" 97 | }, 98 | { 99 | "dataTypeName": "governmentId", 100 | "extendsDataType": "string", 101 | "exhibitsTraits": [ 102 | "means.identity.governmentID" 103 | ] 104 | }, 105 | { 106 | "dataTypeName": "name", 107 | "extendsDataType": "string", 108 | "exhibitsTraits": [ 109 | "means.identity.name" 110 | ] 111 | }, 112 | { 113 | "dataTypeName": "companyName", 114 | "extendsDataType": "string", 115 | "exhibitsTraits": [ 116 | "means.identity.company.name" 117 | ] 118 | }, 119 | { 120 | "dataTypeName": "firstName", 121 | "extendsDataType": "string", 122 | "exhibitsTraits": [ 123 | "means.identity.person.firstName" 124 | ] 125 | }, 126 | { 127 | "dataTypeName": "fullName", 128 | "extendsDataType": "string", 129 | "exhibitsTraits": [ 130 | "means.identity.person.fullName" 131 | ] 132 | }, 133 | { 134 | "dataTypeName": "lastName", 135 | "extendsDataType": "string", 136 | "exhibitsTraits": [ 137 | "means.identity.person.lastName" 138 | ] 139 | }, 140 | { 141 | "dataTypeName": "middleName", 142 | "extendsDataType": "string", 143 | "exhibitsTraits": [ 144 | "means.identity.person.middleName" 145 | ] 146 | }, 147 | { 148 | "dataTypeName": "email", 149 | "extendsDataType": "string", 150 | "exhibitsTraits": [ 151 | "means.identity.service.email" 152 | ] 153 | }, 154 | { 155 | "dataTypeName": "phone", 156 | "extendsDataType": "string", 157 | "exhibitsTraits": [ 158 | "means.identity.service.phone" 159 | ] 160 | }, 161 | { 162 | "dataTypeName": "phoneCell", 163 | "extendsDataType": "string", 164 | "exhibitsTraits": [ 165 | "means.identity.service.phone.cell" 166 | ] 167 | }, 168 | { 169 | "dataTypeName": "phoneFax", 170 | "extendsDataType": "string", 171 | "exhibitsTraits": [ 172 | "means.identity.service.phone.fax" 173 | ] 174 | }, 175 | { 176 | "dataTypeName": "tickerSymbol", 177 | "extendsDataType": "string", 178 | "exhibitsTraits": [ 179 | "means.identity.tickerSymbol" 180 | ] 181 | }, 182 | { 183 | "explanation": "contains a userId", 184 | "traitName": "means.userId" 185 | }, 186 | { 187 | "explanation": "The identifier of a system user", 188 | "dataTypeName": "userId", 189 | "extendsDataType": "entityId", 190 | "exhibitsTraits": [ 191 | "means.userId" 192 | ] 193 | } 194 | ] 195 | } -------------------------------------------------------------------------------- /PropertyLegalCDM/ExtraordinaryRepair.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "_allImports.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "ExtraordinaryRepair", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "AlterationTypeId", 15 | "purpose": "hasA", 16 | "dataType": "integer", 17 | "displayName": "AlterationTypeId", 18 | "description": "" 19 | }, 20 | { 21 | "name": "RepairId", 22 | "purpose": "identifiedBy", 23 | "dataType": "integer", 24 | "displayName": "Repair ID", 25 | "description": "The unique identifier of a Repair." 26 | }, 27 | { 28 | "name": "AssetId", 29 | "purpose": "hasA", 30 | "dataType": "integer", 31 | "displayName": "Asset ID", 32 | "description": "The unique identifier of an Asset." 33 | }, 34 | { 35 | "name": "RepairDescription", 36 | "purpose": "hasA", 37 | "dataType": "string", 38 | "isNullable": true, 39 | "displayName": "Repair Description", 40 | "description": "The description of a Repair.", 41 | "maximumLength": 512 42 | }, 43 | { 44 | "name": "RepairPlannedTimestamp", 45 | "purpose": "hasA", 46 | "dataType": "dateTime", 47 | "isNullable": true, 48 | "displayName": "Repair Planned Timestamp", 49 | "description": "The timestamp that the Repair was planned to start." 50 | }, 51 | { 52 | "name": "RepairStartedTimestamp", 53 | "purpose": "hasA", 54 | "dataType": "dateTime", 55 | "isNullable": true, 56 | "displayName": "Repair Started Timestamp", 57 | "description": "The timestamp that Repair actually was started." 58 | }, 59 | { 60 | "name": "RepairCompletedTimestamp", 61 | "purpose": "hasA", 62 | "dataType": "dateTime", 63 | "isNullable": true, 64 | "displayName": "Repair Completed Timestamp", 65 | "description": "The timestamp that the Repair was completed." 66 | }, 67 | { 68 | "name": "RepairEstimatedCost", 69 | "purpose": "hasA", 70 | "dataType": "decimal", 71 | "appliedTraits": [ 72 | { 73 | "traitReference": "is.dataFormat.numeric.shaped", 74 | "arguments": [ 75 | { 76 | "name": "precision", 77 | "value": 13 78 | }, 79 | { 80 | "name": "scale", 81 | "value": 2 82 | } 83 | ] 84 | } 85 | ], 86 | "isNullable": true, 87 | "displayName": "Repair Estimated Cost", 88 | "description": "The estimated cost of the Repair.", 89 | "maximumLength": 13 90 | }, 91 | { 92 | "name": "RepairActualCost", 93 | "purpose": "hasA", 94 | "dataType": "decimal", 95 | "appliedTraits": [ 96 | { 97 | "traitReference": "is.dataFormat.numeric.shaped", 98 | "arguments": [ 99 | { 100 | "name": "precision", 101 | "value": 13 102 | }, 103 | { 104 | "name": "scale", 105 | "value": 2 106 | } 107 | ] 108 | } 109 | ], 110 | "isNullable": true, 111 | "displayName": "Repair Actual Cost", 112 | "description": "The actual cost of the Repair.", 113 | "maximumLength": 13 114 | }, 115 | { 116 | "name": "RepairNote", 117 | "purpose": "hasA", 118 | "dataType": "string", 119 | "isNullable": true, 120 | "displayName": "Repair Note", 121 | "description": "Notes, comments or additional information regarding Extraordinary Repairs.", 122 | "maximumLength": 1024 123 | }, 124 | { 125 | "name": "ExtraordinaryRepairTypeId", 126 | "purpose": "hasA", 127 | "dataType": "integer", 128 | "isNullable": true, 129 | "displayName": "Extraordinary Repair Type ID", 130 | "description": "The unique identifier of an Extraordinary Repairs Type." 131 | }, 132 | { 133 | "name": "VendorId", 134 | "purpose": "hasA", 135 | "dataType": "integer", 136 | "isNullable": true, 137 | "displayName": "Vendor ID", 138 | "description": "The unique identifier of a Vendor." 139 | }, 140 | { 141 | "name": "ContractId", 142 | "purpose": "hasA", 143 | "dataType": "integer", 144 | "isNullable": true, 145 | "displayName": "Contract ID", 146 | "description": "The unique identifier of a Contract." 147 | }, 148 | { 149 | "name": "WorkOrderId", 150 | "purpose": "hasA", 151 | "dataType": "integer", 152 | "isNullable": true, 153 | "displayName": "Work Order ID", 154 | "description": "The unique identifier of a Work Order." 155 | } 156 | ], 157 | "displayName": "ExtraordinaryRepair", 158 | "description": "Extraordinary repairs is work performed upon a fixed asset that extends the life of the fixed asset for more than one year. \n\nExtraordinary repairs are handled differently from an accounting perspective in that they are capitalized and not expensed. \n\nExtraordinary repairs are charged to the accumulated depreciation account and therefore increase the book value of the asset." 159 | } 160 | ] 161 | } -------------------------------------------------------------------------------- /Archive/AuditCDM/materialCost.cdm.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsonSchemaSemanticVersion": "1.0.0", 3 | "imports": [ 4 | { 5 | "corpusPath": "cdm:/foundations.cdm.json" 6 | } 7 | ], 8 | "definitions": [ 9 | { 10 | "entityName": "materialCost", 11 | "extendsEntity": "CdmEntity", 12 | "hasAttributes": [ 13 | { 14 | "name": "businessUnitCode", 15 | "purpose": "hasA", 16 | "dataType": "string", 17 | "isNullable": true, 18 | "displayName": "businessUnitCode", 19 | "description": "Used to identify the business unit, region, branch, and so on at the level that financial statements are being audited and for which the trial balance is generated. For example, you may use a code aligned with the concept of a reportable segment as defined in FASB Accounting Standards Codification (ASC) 280, Segment Reporting.\n" 20 | }, 21 | { 22 | "name": "costingType", 23 | "purpose": "hasA", 24 | "dataType": "string", 25 | "isNullable": true, 26 | "displayName": "costingType", 27 | "description": "" 28 | }, 29 | { 30 | "name": "inventoryProductId", 31 | "purpose": "hasA", 32 | "dataType": "string", 33 | "isNullable": true, 34 | "displayName": "inventoryProductId", 35 | "description": "" 36 | }, 37 | { 38 | "name": "locationId", 39 | "purpose": "hasA", 40 | "dataType": "string", 41 | "isNullable": true, 42 | "displayName": "locationId", 43 | "description": "" 44 | }, 45 | { 46 | "name": "materialId", 47 | "purpose": "identifiedBy", 48 | "dataType": "string", 49 | "displayName": "materialId", 50 | "description": "" 51 | }, 52 | { 53 | "name": "otherCost1", 54 | "purpose": "hasA", 55 | "dataType": "string", 56 | "isNullable": true, 57 | "displayName": "otherCost1", 58 | "description": "" 59 | }, 60 | { 61 | "name": "otherCost2", 62 | "purpose": "hasA", 63 | "dataType": "string", 64 | "isNullable": true, 65 | "displayName": "otherCost2", 66 | "description": "" 67 | }, 68 | { 69 | "name": "otherCost3", 70 | "purpose": "hasA", 71 | "dataType": "string", 72 | "isNullable": true, 73 | "displayName": "otherCost3", 74 | "description": "" 75 | }, 76 | { 77 | "name": "otherCost4", 78 | "purpose": "hasA", 79 | "dataType": "string", 80 | "isNullable": true, 81 | "displayName": "otherCost4", 82 | "description": "" 83 | }, 84 | { 85 | "name": "otherCost5", 86 | "purpose": "hasA", 87 | "dataType": "string", 88 | "isNullable": true, 89 | "displayName": "otherCost5", 90 | "description": "" 91 | }, 92 | { 93 | "name": "segment01", 94 | "purpose": "hasA", 95 | "dataType": "string", 96 | "isNullable": true, 97 | "displayName": "segment01", 98 | "description": "\"Reserved segment field that can be used for \nprofit center, division, fund, program,\nbranch, project, and so on.\"\n" 99 | }, 100 | { 101 | "name": "segment02", 102 | "purpose": "hasA", 103 | "dataType": "string", 104 | "isNullable": true, 105 | "displayName": "segment02", 106 | "description": "\"Reserved segment field that can be used for \nprofit center, division, fund, program,\nbranch, project, and so on.\"\n" 107 | }, 108 | { 109 | "name": "segment03", 110 | "purpose": "hasA", 111 | "dataType": "string", 112 | "isNullable": true, 113 | "displayName": "segment03", 114 | "description": "\"Reserved segment field that can be used for \nprofit center, division, fund, program,\nbranch, project, and so on.\"\n" 115 | }, 116 | { 117 | "name": "segment04", 118 | "purpose": "hasA", 119 | "dataType": "string", 120 | "isNullable": true, 121 | "displayName": "segment04", 122 | "description": "\"Reserved segment field that can be used for \nprofit center, division, fund, program,\nbranch, project, and so on.\"\n" 123 | }, 124 | { 125 | "name": "segment05", 126 | "purpose": "hasA", 127 | "dataType": "string", 128 | "isNullable": true, 129 | "displayName": "segment05", 130 | "description": "\"Reserved segment field that can be used for \nprofit center, division, fund, program,\nbranch, project, and so on.\"\n" 131 | }, 132 | { 133 | "name": "stockingUnitOfMeasure", 134 | "purpose": "hasA", 135 | "dataType": "string", 136 | "isNullable": true, 137 | "displayName": "stockingUnitOfMeasure", 138 | "description": "" 139 | }, 140 | { 141 | "name": "totalCost", 142 | "purpose": "hasA", 143 | "dataType": "string", 144 | "isNullable": true, 145 | "displayName": "totalCost", 146 | "description": "" 147 | }, 148 | { 149 | "name": "validFromDate", 150 | "purpose": "hasA", 151 | "dataType": "date", 152 | "isNullable": true, 153 | "displayName": "validFromDate", 154 | "description": "" 155 | }, 156 | { 157 | "name": "validToDate", 158 | "purpose": "hasA", 159 | "dataType": "date", 160 | "isNullable": true, 161 | "displayName": "validToDate", 162 | "description": "" 163 | }, 164 | { 165 | "name": "valuationDate", 166 | "purpose": "hasA", 167 | "dataType": "date", 168 | "isNullable": true, 169 | "displayName": "valuationDate", 170 | "description": "" 171 | } 172 | ], 173 | "displayName": "materialCost", 174 | "description": "" 175 | } 176 | ] 177 | } --------------------------------------------------------------------------------