Code Monkey home page Code Monkey logo

dcat-ap-forms's People

Contributors

dependabot[bot] avatar eghuro avatar jakubklimek avatar skodapetr avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

eghuro datagov-cz

dcat-ap-forms's Issues

Připomínky k formuláři registrace datové sady v NKOD - Podmínky užití distribuce

Připomínky k formuláři https://nkod.nakit.opendata.cz/formulář/#/registrace-datové-sady

U položek, které se týkají Podmínek užití distribuce, tak v závislosti na vybrané hodnotě dochází k odemknutí dalších položek (např. vybere se u položky „Autorské dílo“ hodnota „Autorské dílo licencované CC BY 4.0“ a odemkne se položka „Jména autorů díla“). Pokud se nově odemknutá položka vyplní a zase se zpětně změní hodnota předchozí položky, která nově odemknutou položku opět zamkne, tak nedochází ke smazání této již vyplněné položky. Do vygenerovaného souboru .jsonld se text v zamčené položce správně nedostává.

Pokud má daná datová sada více distribucí, tak se nelze mezi distribucemi přepínat klikem na kolečka, ačkoliv kolečka na stisk reagují.

Připomínky byly zaslány zástupci ČSSZ v rámci Pracovní skupiny pro otevřená data.

Add a form for registration of a local open data catalog

It will have 5 items:

  1. Name of the catalog
  2. URI of the catalog endpoint (CKAN API package_list, IRI of dereferencable dcat:Catalog)
  3. Contact point name
  4. Contact point email
  5. LKOD API Type - select with (so far) 2 options, CKAN API package_list and dcat:Catalog

Check code style

  • using of spaces and line breaks
  • max line length
  • use of quotes single/double

Consider adding a linter.

Add error handling

Define and add error handling for following situations:

Delete catalog

  • There is no catalog (nkod:lkod) in given dataset

"(Ne)obsahuje osobní údaje" will now be optional

For backwards NKOD compatibility, we need to add an "unknown" personal data indicator to import. In the form it will show as "Může obsahovat osobní údaje (nespecifikováno)" (the codelist would be expanded), which would however be considered an invalid value in the validator.

Change Catalog registration/delete messages

This is related to #31 and #32.

Now, LKOD URL is used as the IRI for the Catalog. This is a bit unfortunate. The following changes are necessary:

  1. Catalog registration - the API URL will be attached using dcat:endpointURL, the catalog itself will be a blank node
  2. Catalog deletion - The form will be called with a (NKOD assigned) Catalog IRI, similarly to how it is done for datasets (a named graph with the IRI will be in the NKOD endpoint). In there, the data corresponding to the registration message will be present to be displayed. The catalog deletion message will use the catalog IRI (not endpoint IRI), type dcat:Catalog, and the withdrawn status as in dataset deletion message.

Update labels

  • Prefix labels with domain (catalog, dataset),
  • Update label getter $labels.get to $t

Load data from dataset IRI

To be able to edit a dataset, we need to be able to load it into the form from a dataset IRI.

  1. Load data using dataset IRI
  2. Store the dataset IRI for inclusion in "edit" JSON-LD message, which is to be further specified

Catalog registration message contains "null"

{
  "@type": [
    null,
    "https://data.gov.cz/slovník/nkod/DcatApLkod"
  ],
  "http://www.w3.org/ns/dcat#endpointURL": {
    "@value": "http://sss.a",
    "@type": "http://www.w3.org/2001/XMLSchema#anyURI"
  },

Add dataset delete and catalog delete "screen"

Similar to edit, we need a delete screen for datasets and catalogs. It should dereference the deleted dataset or catalog and then consist only of the summarize screen.

Maybe it would be a good idea to just copy the summarize screens from dataset and catalog edit.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.