diff --git a/arkindex/schema.yml b/arkindex/schema.yml index 8cad4480965a6f94b727dc9fdd228d86f75504b8..bb0a85902a33e01a9deeab07ab48d60f1d59d15e 100644 --- a/arkindex/schema.yml +++ b/arkindex/schema.yml @@ -751,7 +751,7 @@ paths: - elements /api/v1/element/{id}/: get: - description: Retrieve detailed information on a single element + description: Retrieve a single element's informations and metadata operationId: RetrieveElement parameters: - description: '' @@ -781,8 +781,96 @@ paths: id: type: string metadata: + items: + properties: + dates: + items: + properties: + day: + nullable: true + type: integer + month: + nullable: true + type: integer + type: + enum: + - exact + - lower + - upper + - unknown + year: + type: integer + required: + - year + - type + type: array + entity: + properties: + id: + type: string + name: + type: string + type: + enum: + - person + - location + - subject + - organization + - misc + required: + - name + - type + type: object + id: + type: string + name: + type: string + revision: + properties: + author: + type: string + commit_url: + readOnly: true + type: string + date: + format: date-time + type: string + hash: + type: string + id: + type: string + message: + type: string + ref: + type: string + repo_id: + readOnly: true + type: string + required: + - date + - hash + - ref + - message + - author + type: object + type: + enum: + - text + - html + - date + - location + - entity + value: + type: string + required: + - type + - name + - value + - revision + - dates + - entity readOnly: true - type: string + type: array name: type: string thumbnail_url: @@ -842,8 +930,96 @@ paths: id: type: string metadata: + items: + properties: + dates: + items: + properties: + day: + nullable: true + type: integer + month: + nullable: true + type: integer + type: + enum: + - exact + - lower + - upper + - unknown + year: + type: integer + required: + - year + - type + type: array + entity: + properties: + id: + type: string + name: + type: string + type: + enum: + - person + - location + - subject + - organization + - misc + required: + - name + - type + type: object + id: + type: string + name: + type: string + revision: + properties: + author: + type: string + commit_url: + readOnly: true + type: string + date: + format: date-time + type: string + hash: + type: string + id: + type: string + message: + type: string + ref: + type: string + repo_id: + readOnly: true + type: string + required: + - date + - hash + - ref + - message + - author + type: object + type: + enum: + - text + - html + - date + - location + - entity + value: + type: string + required: + - type + - name + - value + - revision + - dates + - entity readOnly: true - type: string + type: array name: type: string thumbnail_url: @@ -904,8 +1080,96 @@ paths: id: type: string metadata: + items: + properties: + dates: + items: + properties: + day: + nullable: true + type: integer + month: + nullable: true + type: integer + type: + enum: + - exact + - lower + - upper + - unknown + year: + type: integer + required: + - year + - type + type: array + entity: + properties: + id: + type: string + name: + type: string + type: + enum: + - person + - location + - subject + - organization + - misc + required: + - name + - type + type: object + id: + type: string + name: + type: string + revision: + properties: + author: + type: string + commit_url: + readOnly: true + type: string + date: + format: date-time + type: string + hash: + type: string + id: + type: string + message: + type: string + ref: + type: string + repo_id: + readOnly: true + type: string + required: + - date + - hash + - ref + - message + - author + type: object + type: + enum: + - text + - html + - date + - location + - entity + value: + type: string + required: + - type + - name + - value + - revision + - dates + - entity readOnly: true - type: string + type: array name: type: string thumbnail_url: @@ -1941,8 +2205,96 @@ paths: id: type: string metadata: + items: + properties: + dates: + items: + properties: + day: + nullable: true + type: integer + month: + nullable: true + type: integer + type: + enum: + - exact + - lower + - upper + - unknown + year: + type: integer + required: + - year + - type + type: array + entity: + properties: + id: + type: string + name: + type: string + type: + enum: + - person + - location + - subject + - organization + - misc + required: + - name + - type + type: object + id: + type: string + name: + type: string + revision: + properties: + author: + type: string + commit_url: + readOnly: true + type: string + date: + format: date-time + type: string + hash: + type: string + id: + type: string + message: + type: string + ref: + type: string + repo_id: + readOnly: true + type: string + required: + - date + - hash + - ref + - message + - author + type: object + type: + enum: + - text + - html + - date + - location + - entity + value: + type: string + required: + - type + - name + - value + - revision + - dates + - entity readOnly: true - type: string + type: array name: type: string thumbnail_url: