зеркало из https://github.com/microsoft/CDM.git
82 строки
2.2 KiB
JSON
82 строки
2.2 KiB
JSON
{
|
|
"$schema": "./schema.cdm.json",
|
|
"jsonSchemaSemanticVersion": "1.0.0",
|
|
"imports": [
|
|
{
|
|
"corpusPath": "/primitives.1.0.cdm.json"
|
|
},
|
|
{
|
|
"corpusPath": "/meanings.measurement.1.0.cdm.json"
|
|
}
|
|
],
|
|
"definitions": [
|
|
{
|
|
"traitName": "means.demographic",
|
|
"extendsTrait": "means"
|
|
},
|
|
{
|
|
"traitName": "means.demographic.age",
|
|
"extendsTrait": "means.demographic"
|
|
},
|
|
{
|
|
"traitName": "means.demographic.gender",
|
|
"extendsTrait": "means.demographic"
|
|
},
|
|
{
|
|
"traitName": "means.demographic.ethnicity",
|
|
"extendsTrait": "means.demographic"
|
|
},
|
|
{
|
|
"traitName": "means.demographic.maritalStatus",
|
|
"extendsTrait": "means.demographic"
|
|
},
|
|
{
|
|
"traitName": "means.demographic.birthDate",
|
|
"extendsTrait": "means.demographic"
|
|
},
|
|
{
|
|
"traitName": "means.demographic.income",
|
|
"extendsTrait": "means.demographic"
|
|
},
|
|
{
|
|
"traitName": "means.demographic.education",
|
|
"extendsTrait": "means.demographic"
|
|
},
|
|
{
|
|
"dataTypeName": "age",
|
|
"extendsDataType": "integer",
|
|
"exhibitsTraits": [
|
|
"means.demographic.age",
|
|
"means.measurement.age"
|
|
]
|
|
},
|
|
{
|
|
"dataTypeName": "birthDate",
|
|
"extendsDataType": "dateTime",
|
|
"exhibitsTraits": [
|
|
"means.demographic.birthDate"
|
|
]
|
|
},
|
|
{
|
|
"dataTypeName": "gender",
|
|
"extendsDataType": "string",
|
|
"exhibitsTraits": [
|
|
"means.demographic.gender"
|
|
]
|
|
},
|
|
{
|
|
"dataTypeName": "ethnicity",
|
|
"extendsDataType": "string",
|
|
"exhibitsTraits": [
|
|
"means.demographic.ethnicity"
|
|
]
|
|
},
|
|
{
|
|
"dataTypeName": "maritalStatus",
|
|
"extendsDataType": "string",
|
|
"exhibitsTraits": [
|
|
"means.demographic.maritalStatus"
|
|
]
|
|
}
|
|
]
|
|
} |