Skip to content

Commit

Permalink
feat(object-classification): Adding Object Classification types
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Oct 27, 2019
1 parent 4cd83d4 commit 7b25590
Show file tree
Hide file tree
Showing 3 changed files with 127 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,21 @@ sudo: false
language: node_js
cache:
directories:
- node_modules
- node_modules
notifications:
email: false
node_js:
- '8'
- '8'
script:
- npm run test:single
- npm run check-coverage
- npm run test:single
- npm run check-coverage
after_success:
- npm run report-coverage
- npm run semantic-release
- npm run report-coverage
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
- "/^v\\d+\\.\\d+\\.\\d+$/"
env:
global:
- secure: Pv+oFJfuB1aR20JIm8bfqQ7O49cc94VoxqqQj1TrGcq+aXdsGIOyOFHbfYp/Zf2jqKOHVkTyIyIPX74pqwLL/5DSsGZOdwQLhdK/019qaQ9t2MnH+SCx9YcrMMR2aw4FqWdn31NSzeoP3AHYMFrMrVd5wP5wpbCDO7jNcKznj5RJa43VjM7yE3vjBdxmn+3F3jwAQKv2l2EaH/1X1+EylNqCccUJq7ns2RyCEJaiN+OzpPSv8VYsgZD+/vurvq73ykC3HAnua6SzOgWl9I6PFICgMyIBpNKXB98dbTPMcB/4X9Kj/AbJKdm2rINKcdQgHdxmYABQMVxqkbLqAJfBqgv/BjEPaG9KUMP7hD8hRRO5L2kWWKS2sz8GEBI6oVNRD6wJRHDd4SPxg0O7EbdhdviGrDH53TxA9oofKbRwq9ORFbA4hBRA0v6SYTGuTqkBG4CGoyVRBF9MV0iQR09cf1tYPsVeaV04vhCTJyIbT0YKhnTggvepfjc6ydsqqu8cpZlT/wnXYpS1rAjkaPNj8gzvW6YHtnix9VXF2PdDBYrJgn4aLjMqIOYJRwnwO0VIdkeMotPiF7/RMF33OiM+uFmAi7LGDM1L6JeTdS9ApAAID14fAHTUbgDaaQjAryNVblfSx9B/MCBr6RRL6JAe2HBfk2wI3fkM2zak+znTvx8=
- secure: cYrG+ov9io/0g7mwhZBeDK/RrNhG8vRCyJ0QoxpMqO0UAOcNIUUUhvG2/beYmcDiVcQ73Vh0W9+xHeAQEahVnn3i4R53CKqzKkWoqiQehCkSVj/IEkUBb/DrK5tph6sQQXI/Z1fc+GjcjgGPTLOQh22spuiz1D1XmeUAHBwviWKHWU1E3ZMrjoMD4+8KUnxcTk7X5FrldtZRPygZwVs9Ik3MLHaISWTOy5VvSmG/8vybhJKvr6TEJKvNxC7hwTuGussqPq40FnzYRsiJ+xZ0Dhp55cYcol+0nrcDY6lrDWZ7JNGy1xSHNpJKII7YWzaNtdq2SuWlF1D+wuDbobjdz9jJHhXjV05a2qKfROfoYUHAMWh7mEnx+8+sxep7jaZxLwLMhBqcKYSGCedug/LMc3TZLyAoiw4BaP7vgDXKLywSZ45NSOlAh2TkBffmpP4iFwY9Ow6isFv6F8H/IhlOhx1PJFmpoHf8PZoE1uehxQofl+FTr2GewNs75fM6uinjlKm4gcEEWusqft86qkSSctbkIx8/3M2zjrCa8IlZdhvPBuxiN4y5dT5Ci/N3XUf8efZ9VAd8nmn4jqzoqLk20/x7ojHYMjZaaubwYHfkdE5JqGzqSuj901slH51eyXNG/bu59EHXfmw8f6gS0aumIUz+SHmTUIB8H5IYMWKxUl4=
61 changes: 61 additions & 0 deletions src/os-type-descriptions.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@
"displayName": "Display Name",
"description": "A label, title or display name for this sub-project"
},
"activity:generic:subproject:kind": {
"displayName": "Kind",
"description": "A label describing the kind or type of this sub-project"
},
"administrative-classification:": {
"displayName": "Administrative Classification",
"description": "The entity responsible for managing the public funds",
Expand Down Expand Up @@ -1155,6 +1159,63 @@
"description": "Extra properties regarding whether the expenditure contains budgetary transfers",
"group": "500-Fiscal Attributes"
},
"object-classification:": {
"displayName": "Object Classification",
"description": "Classification of expenditure according to the purchaesd good",
"group": "201-Classifications"
},
"object-classification:generic:": {
"displayName": "Non-standard Object Classification",
"description": "Object Classification that does not adhere to a specific standard"
},
"object-classification:generic:level1:": {
"displayName": "Top Classification Level",
"description": "Top level of the Object Classification"
},
"object-classification:generic:level1:code": {
"displayName": "Unique Identifier",
"description": "A code or unique identifier for the top level of the classification"
},
"object-classification:generic:level1:label": {
"displayName": "Display Name",
"description": "A label, title or display name for this level of the classification"
},
"object-classification:generic:level2:": {
"displayName": "2nd Classification Level",
"description": "2nd level of the Object Classification"
},
"object-classification:generic:level2:code": {
"displayName": "Unique Identifier",
"description": "A code or unique identifier for the 2nd level of the classification"
},
"object-classification:generic:level2:label": {
"displayName": "Display Name",
"description": "A label, title or display name for this level of the classification"
},
"object-classification:generic:level3:": {
"displayName": "3rd Classification Level",
"description": "3rd level of the Object Classification"
},
"object-classification:generic:level3:code": {
"displayName": "Unique Identifier",
"description": "A code or unique identifier for the 3rd level of the classification"
},
"object-classification:generic:level3:label": {
"displayName": "Display Name",
"description": "A label, title or display name for this level of the classification"
},
"object-classification:generic:level4:": {
"displayName": "4th Classification Level",
"description": "4th level of the Object Classification"
},
"object-classification:generic:level4:code": {
"displayName": "Unique Identifier",
"description": "A code or unique identifier for the 4th level of the classification"
},
"object-classification:generic:level4:label": {
"displayName": "Display Name",
"description": "A label, title or display name for this level of the classification"
},
"unknown:": {
"displayName": "Unknown Mapping",
"description": "Use when no other data type applies to the column",
Expand Down
55 changes: 55 additions & 0 deletions src/os-types.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@
"dimensionType": "activity",
"labelfor": "activity:generic:subproject:code"
},
"activity:generic:subproject:kind": {
"dataType": "string",
"dimensionType": "activity"
},
"administrative-classification:generic:code": {
"classificationType": "administrative",
"dataType": "string",
Expand Down Expand Up @@ -1086,6 +1090,57 @@
"dimensionType": "other",
"dataType": "string"
},
"object-classification:generic:level1:code": {
"classificationType": "object",
"dataType": "string",
"dimensionType": "classification",
"uniqueIdentifier": true
},
"object-classification:generic:level1:label": {
"classificationType": "object",
"dataType": "string",
"dimensionType": "classification",
"labelfor": "object-classification:generic:level1:code"
},
"object-classification:generic:level2:code": {
"classificationType": "object",
"dataType": "string",
"dimensionType": "classification",
"parent": "object-classification:generic:level1:code",
"uniqueIdentifier": true
},
"object-classification:generic:level2:label": {
"classificationType": "object",
"dataType": "string",
"dimensionType": "classification",
"labelfor": "object-classification:generic:level2:code"
},
"object-classification:generic:level3:code": {
"classificationType": "object",
"dataType": "string",
"dimensionType": "classification",
"parent": "object-classification:generic:level2:code",
"uniqueIdentifier": true
},
"object-classification:generic:level3:label": {
"classificationType": "object",
"dataType": "string",
"dimensionType": "classification",
"labelfor": "object-classification:generic:level3:code"
},
"object-classification:generic:level4:code": {
"classificationType": "object",
"dataType": "string",
"dimensionType": "classification",
"parent": "object-classification:generic:level3:code",
"uniqueIdentifier": true
},
"object-classification:generic:level4:label": {
"classificationType": "object",
"dataType": "string",
"dimensionType": "classification",
"labelfor": "object-classification:generic:level4:code"
},
"unknown:string": {
"dimensionType": "other",
"dataType": "string"
Expand Down

0 comments on commit 7b25590

Please sign in to comment.