{
"info": {
"version": "1.1.2"
},
"servers": [
{
"url": "{scheme}://{hostname}",
"variables": {
"scheme": {
"default": "https"
}
}
}
],
"tags": [
{
"name": "affiliations",
"description": "Affiliations",
"externalDocs": {
"description": "Plus de documentation",
"url": "https://gitbucket.inist.fr/tdm/web-services/tree/master/affiliations-tools"
}
}, {
"name": "rnsr",
"description": "RNSR",
"externalDocs": {
"description": "Plus de documentation",
"url": "https://gitbucket.inist.fr/tdm/web-services/tree/master/affiliations-tools#v1%2frnsr%2fcsv"
}
}, {
"name": "adresses",
"description": "Adresses",
"externalDocs": {
"description": "Plus de documentation",
"url": "https://gitbucket.inist.fr/tdm/web-services/tree/master/affiliations-tools#v1%2faddresses%2fparse"
}
}
],
"components": {
"schemas": {
"NoticesRnsr": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NoticeRnsr"
}
},
"NoticeRnsr": {
"type": "object",
"properties": {
"xPublicationDate": {
"type": "array",
"items": {
"type": "string",
"format": "date"
}
},
"authors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AuthorRnsr"
}
}
}
},
"Notices": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Notice"
}
},
"Notice": {
"type": "object",
"properties": {
"xPublicationDate": {
"type": "array",
"items": {
"type": "string",
"format": "date"
}
},
"authors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Author"
}
}
}
},
"Author": {
"type": "object",
"properties": {
"affiliations": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Affiliation"
}
}
}
},
"AuthorRnsr": {
"type": "object",
"properties": {
"affiliations": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AffiliationRnsr"
}
}
}
},
"Affiliation": {
"type": "object",
"properties": {
"address": {
"type": "string"
}
}
},
"AffiliationRnsr": {
"type": "object",
"properties": {
"address": {
"type": "string"
},
"conditorRnsr": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RNSR"
}
}
}
},
"RNSR": {
"type": "string",
"pattern": "^[0-9]{9}[A-Z]$",
"example": "200919362L"
},
"IdYearAddresses": {
"type": "array",
"items": {
"$ref": "#/components/schemas/IdYearAddress"
}
},
"IdYearAddress": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"value": {
"$ref": "#/components/schemas/YearAddress"
}
}
},
"YearAddress": {
"type": "object",
"properties": {
"year": {
"type": "string",
"format": "date"
},
"address": {
"type": "string",
"example": "University of Bordeaux, IMS, CNRS UMR5218, Talence, F-33405, France"
}
}
},
"IdRNSRs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/IdRNSR"
}
},
"IdRNSR": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"value": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RNSR"
}
}
}
}
}
}
}