From 6b25156b56101a066635dc6db092c8bd4aeee462 Mon Sep 17 00:00:00 2001 From: Micha Moskovic Date: Thu, 15 Jun 2017 17:00:16 +0200 Subject: [PATCH] schemas: legacy_creation_date is not a date-time * Fixes bug in `legacy_creation_date` by replacing `date-time` format with `date`. Signed-off-by: Micha Moskovic --- inspire_schemas/records/authors.yml | 2 +- inspire_schemas/records/conferences.yml | 2 +- inspire_schemas/records/experiments.yml | 2 +- inspire_schemas/records/hep.yml | 2 +- inspire_schemas/records/institutions.yml | 2 +- inspire_schemas/records/jobs.yml | 2 +- inspire_schemas/records/journals.yml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/inspire_schemas/records/authors.yml b/inspire_schemas/records/authors.yml index 975df4eb..a037f510 100644 --- a/inspire_schemas/records/authors.yml +++ b/inspire_schemas/records/authors.yml @@ -118,7 +118,7 @@ properties: type: array uniqueItems: true legacy_creation_date: - format: date-time + format: date type: string name: additionalProperties: false diff --git a/inspire_schemas/records/conferences.yml b/inspire_schemas/records/conferences.yml index 9ef049cd..a6f9348d 100644 --- a/inspire_schemas/records/conferences.yml +++ b/inspire_schemas/records/conferences.yml @@ -143,7 +143,7 @@ properties: type: array uniqueItems: true legacy_creation_date: - format: date-time + format: date type: string new_record: $ref: elements/json_reference.json diff --git a/inspire_schemas/records/experiments.yml b/inspire_schemas/records/experiments.yml index c566692e..cd4ffc2f 100644 --- a/inspire_schemas/records/experiments.yml +++ b/inspire_schemas/records/experiments.yml @@ -267,7 +267,7 @@ properties: type: array uniqueItems: true legacy_creation_date: - format: date-time + format: date type: string long_name: description: |- diff --git a/inspire_schemas/records/hep.yml b/inspire_schemas/records/hep.yml index 6362d313..d5be638f 100644 --- a/inspire_schemas/records/hep.yml +++ b/inspire_schemas/records/hep.yml @@ -949,7 +949,7 @@ properties: :MARC: ``961__x`` Only present if the record already existed on legacy Inspire. - format: date-time + format: date title: Date of record creation on legacy type: string license: diff --git a/inspire_schemas/records/institutions.yml b/inspire_schemas/records/institutions.yml index 71e78b0f..37990399 100644 --- a/inspire_schemas/records/institutions.yml +++ b/inspire_schemas/records/institutions.yml @@ -124,7 +124,7 @@ properties: legacy_ICN: type: string legacy_creation_date: - format: date-time + format: date type: string location: additionalProperties: false diff --git a/inspire_schemas/records/jobs.yml b/inspire_schemas/records/jobs.yml index d6ec50e7..1e27be87 100644 --- a/inspire_schemas/records/jobs.yml +++ b/inspire_schemas/records/jobs.yml @@ -101,7 +101,7 @@ properties: type: array uniqueItems: true legacy_creation_date: - format: date-time + format: date type: string new_record: $ref: elements/json_reference.json diff --git a/inspire_schemas/records/journals.yml b/inspire_schemas/records/journals.yml index 6918a39f..6210be19 100644 --- a/inspire_schemas/records/journals.yml +++ b/inspire_schemas/records/journals.yml @@ -67,7 +67,7 @@ properties: type: array uniqueItems: true legacy_creation_date: - format: date-time + format: date type: string license: enum: