1
0
Files

117 lines
3.9 KiB
YAML

# ODCS v3 datu līgums: B18 TAP tiesību aktu veidi — AVOTS (Valsts kancelejas JSON:API datne, kā publicēta data.gov.lv).
# Shēma: schemas/tap-tiesibu-aktu-veidi-0.1.schema.json. Datus VDE neglabā ProcessGit: tie tiek lasīti no portāla katru dienu.
apiVersion: v3.0.2
kind: DataContract
id: urn:pppa:cac:contract:B18-source
name: TAP tiesību aktu veidi — avota datne
version: 0.1.0
status: active
domain: Valsts kā kods (Country as Code)
dataProduct: TAP klasifikatori
tenant: PPP Asociācija (PPPA)
description:
purpose: 'Tiesību aktu portāla (TAP) tiesību aktu veidu klasifikācija: Ministru kabineta 2021. gada 7. septembra noteikumos Nr. 606 „Ministru
kabineta kārtības rullis” noteiktie tiesību aktu (projektu) veidi ar kodu (piem. TA-Rik — rīkojuma projekts).'
usage: Avots datu kopai B18 VDE. Datnes tiek lejupielādētas no portāla, validētas pret JSON shēmu schemas/tap-tiesibu-aktu-veidi-0.1.schema.json
un ielādētas Bronze slānī, kā saņemtas.
limitations: Klasifikācija apraksta projekta veidu TAP, nevis pieņemtā akta veidu likumi.lv.
servers:
- server: data.gov.lv
type: custom
format: json
description: Latvijas Atvērto datu portāls (CKAN); JSON:API datnes
customProperties:
- property: dataset
value: https://data.gov.lv/dati/lv/dataset/tap-tiesibu-aktu-veidi
- property: api
value: https://data.gov.lv/dati/api/3/action/package_show?id=tap-tiesibu-aktu-veidi
- property: filePattern
value: legal_act_types\.json$
- property: encoding
value: utf-8
- property: jsonSchema
value: https://processgit.org/Valsts-Pirmkods/MK-Lemumi-as-Code/src/branch/main/schemas/tap-tiesibu-aktu-veidi-0.1.schema.json
schema:
- name: tiesibu_akta_veids
logicalType: object
physicalType: json-api-resource
physicalName: legal_act_types.json#/data[]
description: Viens ieraksts = viens tiesību akta (projekta) veids.
customProperties:
- property: lakehouseTable
value: cac_bronze.tap_legal_act_type
- property: key
value: id
properties:
- name: type_id
physicalName: id
logicalType: string
required: true
primaryKey: true
description: TAP identifikators (UUID)
- name: code
physicalName: attributes.code
logicalType: string
required: true
description: Veida kods (TA-…)
- name: name
physicalName: attributes.name
logicalType: string
required: true
description: Nosaukums
- name: active_from
physicalName: attributes.active_from
logicalType: date
required: true
description: Spēkā no
- name: active_to
physicalName: attributes.active_to
logicalType: date
required: false
description: Spēkā līdz
quality:
- name: json_schema_valid
type: custom
engine: json-schema
implementation: schemas/tap-tiesibu-aktu-veidi-0.1.schema.json
description: Katra datne atbilst JSON shēmai (JSON:API struktūra, identifikatori, datumi)
dimension: conformity
- name: key_unique
type: custom
engine: cac-lakehouse
implementation: app.cac_tap:key_unique
description: Identifikators (id) ir unikāls
dimension: uniqueness
- name: code_unique
type: custom
engine: cac-lakehouse
implementation: app.cac_tap:code_unique
description: Veida kods ir unikāls
dimension: uniqueness
slaProperties:
- property: frequency
value: 1
unit: d
element: pārbaude katru dienu (cron 03:30 UTC); ielāde, ja datne portālā vai līgums mainījies
- property: latency
value: 1
unit: d
element: Valsts kanceleja atjauno datni katru dienu
team:
- role: owner
name: Valsts kanceleja (Tiesību aktu portāls)
- role: data steward
name: PPP Asociācija (PPPA)
support:
- channel: web
url: https://tapportals.mk.gov.lv
description: Datu turētājs (Valsts kanceleja)
- channel: issues
url: https://processgit.org/Valsts-Pirmkods/MK-Lemumi-as-Code/issues
description: Līgums un shēma (PPPA)
customProperties:
- property: sourceId
value: B18
- property: licence
value: CC0-1.0