Skip to content

Commit

Permalink
Merge pull request #35 from europarl/develop
Browse files Browse the repository at this point in the history
Update csvw documentation
  • Loading branch information
vanessa-ep authored Apr 10, 2024
2 parents a8e922d + 7e59029 commit 38448c2
Show file tree
Hide file tree
Showing 6 changed files with 896 additions and 568 deletions.
313 changes: 157 additions & 156 deletions csvw/adopted-texts_csvw.json
Original file line number Diff line number Diff line change
@@ -1,157 +1,158 @@
{
"@context": "http://www.w3.org/ns/csvw",
"dc:license": {
"@id": "https://www.europarl.europa.eu/legal-notice"
},
"dc:modified": {
"@type": "xsd:date",
"@value": "2023-06-07"
},
"dc:publisher": "European Parliament",
"dc:title": "adopted-texts_csv",
"url": "https://data.europarl.europa.eu/def/adopted-texts_csvw.json",
"tables": [
{
"url": "adopted-texts.csv",
"tableSchema": {
"columns": [
{
"name": "document_identifier",
"propertyUrl": "dc:identifier",
"constraints": {
"required": true,
"type": "http://www.w3.org/2001/XMLSchema#string"
}
},
{
"name": "document_title",
"propertyUrl": "eli:title",
"constraints": {
"required": false,
"type": "http://www.w3.org/2001/XMLSchema#string"
}
},
{
"name": "document_type",
"propertyUrl": "eli:work_type",
"constraints": {
"required": false,
"type": "http://www.w3.org/2001/XMLSchema#string"
}
},
{
"name": "document_parliamentary_term",
"propertyUrl": "eli-dl:parliamentary_term",
"constraints": {
"required": false,
"type": "http://www.w3.org/2001/XMLSchema#int"
}
},
{
"name": "document_date",
"propertyUrl": "eli:date_document",
"constraints": {
"required": false,
"type": "http://www.w3.org/2001/XMLSchema#dateTime"
}
},
{
"name": "document_public_register_notation",
"propertyUrl": "skos:notation",
"constraints": {
"required": false,
"type": "http://www.w3.org/2001/XMLSchema#string"
}
},
{
"name": "document_language",
"propertyUrl": "eli:language",
"constraints": {
"required": false,
"type": "http://www.w3.org/2001/XMLSchema#string"
}
},
{
"name": "document_pdf",
"propertyUrl": "eli:is_exemplified_by",
"constraints": {
"required": false,
"type": "http://www.w3.org/2001/XMLSchema#anyURI"
}
},
{
"name": "document_doc",
"propertyUrl": "eli:is_exemplified_by",
"constraints": {
"required": false,
"type": "http://www.w3.org/2001/XMLSchema#anyURI"
}
},
{
"name": "document_corrigenda_pdf",
"propertyUrl": "eli:is_exemplified_by",
"constraints": {
"required": false,
"type": "http://www.w3.org/2001/XMLSchema#anyURI"
}
},
{
"name": "document_corrigenda_doc",
"propertyUrl": "eli:is_exemplified_by",
"constraints": {
"required": false,
"type": "http://www.w3.org/2001/XMLSchema#anyURI"
}
},
{
"name": "document_subject_matter",
"propertyUrl": "epvoc:isAboutSubjectMatter",
"constraints": {
"required": false,
"type": "http://www.w3.org/2001/XMLSchema#string"
}
},
{
"name": "document_directory_code",
"propertyUrl": "epvoc:isAboutDirectoryCode",
"constraints": {
"required": false,
"type": "http://www.w3.org/2001/XMLSchema#string"
}
},
{
"name": "document_adopts",
"propertyUrl": "eli-dl:adopts",
"constraints": {
"required": false,
"type": "http://www.w3.org/2001/XMLSchema#anyURI"
}
},
{
"name": "document_procedure",
"propertyUrl": "eli-dl:created_a_realization_of",
"constraints": {
"required": false,
"type": "http://www.w3.org/2001/XMLSchema#anyURI"
}
},
{
"name": "document_ep_number",
"propertyUrl": "epvoc:epNumber",
"constraints": {
"required": false,
"type": "http://www.w3.org/2001/XMLSchema#string"
}
},
{
"name": "document_URI",
"constraints": {
"required": true,
"type": "http://www.w3.org/2001/XMLSchema#anyURI"
}
}
]
}
}
]
{
"@context": "http://www.w3.org/ns/csvw",
"dcterms:license": {
"@id": "https://www.europarl.europa.eu/legal-notice"
},
"dc:modified": {
"@type": "xsd:date",
"@value": "2024-04-10"
},
"dcterms:publisher": "European Parliament",
"dcterms:title": "adopted-texts",
"url": "https://data.europarl.europa.eu/def/adopted-texts-csvw.json",
"tables": [
{
"url": "adopted-texts_csvw.json",
"tableSchema": {
"fields": [
{
"name": "document_identifier",
"propertyUrl": "dcterms:identifier",
"constraints": {
"required": true,
"datatype": "xsd:integer"
}
},
{
"name": "document_title",
"propertyUrl": "dcterms:title",
"constraints": {
"required": false,
"datatype": "rdf:langString"
}
},
{
"name": "document_type",
"propertyUrl": "eli:work_type",
"constraints": {
"required": false,
"datatype": "IRI"
}
},
{
"name": "document_parliamentary_term",
"propertyUrl": "eli-dl:parliamentary_term",
"constraints": {
"required": false,
"datatype": "IRI"
}
},
{
"name": "document_date",
"propertyUrl": "eli:date_document",
"constraints": {
"required": false,
"datatype": "xsd:date"
}
},
{
"name": "document_public_register_notation",
"propertyUrl": "skos:notation",
"constraints": {
"required": false,
"datatype": "xsd:string"
}
},
{
"name": "document_language",
"propertyUrl": "eli:language",
"constraints": {
"required": false,
"datatype": "IRI"
}
},
{
"name": "document_pdf",
"propertyUrl": "eli:is_exemplified_by",
"constraints": {
"required": false,
"datatype": "IRI"
}
},
{
"name": "document_doc",
"propertyUrl": "eli:is_exemplified_by",
"constraints": {
"required": false,
"datatype": "IRI"
}
},
{
"name": "document_corrigenda_pdf",
"propertyUrl": "eli:is_exemplified_by",
"constraints": {
"required": false,
"datatype": "IRI"
}
},
{
"name": "document_corrigenda_doc",
"propertyUrl": "eli:is_exemplified_by",
"constraints": {
"required": false,
"datatype": "IRI"
}
},
{
"name": "document_subject_matter",
"propertyUrl": "epvoc:isAboutSubjectMatter",
"constraints": {
"required": false,
"datatype": "IRI"
}
},
{
"name": "document_directory_code",
"propertyUrl": "epvoc:isAboutDirectoryCode",
"constraints": {
"required": false,
"datatype": "IRI"
}
},
{
"name": "document_adopts",
"propertyUrl": "eli-dl:adopts",
"constraints": {
"required": false,
"datatype": "IRI"
}
},
{
"name": "document_procedure",
"propertyUrl": "eli-dl:created_a_realization_of",
"constraints": {
"required": false,
"datatype": "IRI"
}
},
{
"name": "document_ep_number",
"propertyUrl": "epvoc:epNumber",
"constraints": {
"required": false,
"datatype": "xsd:string"
}
},
{
"name": "document_URI",
"propertyUrl": "URI",
"constraints": {
"required": true,
"datatype": "IRI"
}
}
]
}
}
]
}
Loading

0 comments on commit 38448c2

Please sign in to comment.