get_outline
Outline of a law
The structure of a document: its parts, chapters and articles with their headings and element ids. Use it to find the right article of a long law before reading it.
A request
curl -s https://api.pandex.io/v1/outline \
-H "content-type: application/json" \
-d '{"id": "32016R0679", "under": "chp_iii", "lang": "en"}'{
"name": "get_outline",
"arguments": {
"id": "32016R0679",
"under": "chp_iii",
"lang": "en"
}
}The answer
Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016 on the protection of natural persons with regard to the processing of personal data and on the free movement of such data, and repealing Directive 95/46/EC (General Data Protection Regulation) (Text with EEA relevance) [eu.legislation:32016R0679] · en
chp_iii III Rights of the data subject
chp_iii.sec_1 1 Transparency and modalities
art_12 12 Transparent information, communication and modalities for the exercise of the rights of the data subject
chp_iii.sec_2 2 Information and access to personal data
art_13 13 Information to be provided where personal data are collected from the data subject
art_14 14 Information to be provided where personal data have not been obtained from the data subject
art_15 15 Right of access by the data subject
chp_iii.sec_3 3 Rectification and erasure
art_16 16 Right to rectification
art_17 17 Right to erasure (‘right to be forgotten’)
art_18 18 Right to restriction of processing
art_19 19 Notification obligation regarding rectification or erasure of personal data or restriction of processing
art_20 20 Right to data portability
chp_iii.sec_4 4 Right to object and automated individual decision-making
art_21 21 Right to object
art_22 22 Automated individual decision-making, including profiling
chp_iii.sec_5 5 Restrictions
art_23 23 Restrictions{
"id": "eu.legislation:32016R0679",
"title": "Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016 on the protection of natural persons with regard to the processing of personal data and on the free movement of such data, and repealing Directive 95/46/EC (General Data Protection Regulation) (Text with EEA relevance)",
"lang": "en",
"lines": [
{
"element": "chp_iii",
"level": 1,
"kind": "chapter",
"label": "III Rights of the data subject",
"count": 1
},
{
"element": "chp_iii.sec_1",
"level": 2,
"kind": "section",
"label": "1 Transparency and modalities",
"count": 1
},
{
"element": "art_12",
"level": 3,
"kind": "article",
"label": "12 Transparent information, communication and modalities for the exercise of the rights of the data subject",
"count": 1
},
{
"element": "chp_iii.sec_2",
"level": 2,
"kind": "section",
"label": "2 Information and access to personal data",
"count": 1
},
{
"element": "art_13",
"level": 3,
"kind": "article",
"label": "13 Information to be provided where personal data are collected from the data subject",
"count": 1
},
{
"element": "art_14",
"level": 3,
"kind": "article",
"label": "14 Information to be provided where personal data have not been obtained from the data subject",
"count": 1
},
{
"element": "art_15",
"level": 3,
"kind": "article",
"label": "15 Right of access by the data subject",
"count": 1
},
{
"element": "chp_iii.sec_3",
"level": 2,
"kind": "section",
"label": "3 Rectification and erasure",
"count": 1
},
{
"element": "art_16",
"level": 3,
"kind": "article",
"label": "16 Right to rectification",
"count": 1
},
{
"element": "art_17",
"level": 3,
"kind": "article",
"label": "17 Right to erasure (‘right to be forgotten’)",
"count": 1
},
{
"element": "art_18",
"level": 3,
"kind": "article",
"label": "18 Right to restriction of processing",
"count": 1
},
{
"element": "art_19",
"level": 3,
"kind": "article",
"label": "19 Notification obligation regarding rectification or erasure of personal data or restriction of processing",
"count": 1
},
{
…The text is what the tool gives a model, and what HTTP gives with ?format=text. The JSON is what HTTP gives without it.
Arguments
idstringrequired- An id from a result, or an identifier or citation.
understring- Only the structure below this element (a part or chapter).
atstring- The structure as it stood on this day, YYYY-MM-DD.
langstring- Two-letter language, for texts that exist in several.
max_tokensinteger- Size of the answer in tokens, 200–8000. Default 1500.