Skip to content
This repository has been archived by the owner on Jun 22, 2023. It is now read-only.

Commit

Permalink
feat(schema): make description property optional
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristiaanScheermeijer committed Jan 15, 2020
1 parent d5fbe57 commit 5f77848
Show file tree
Hide file tree
Showing 38 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion src/schema/interface/MetadataInterface.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ interface MetadataInterface {
"http://purl.org/dc/elements/1.1/date"
date: _Neo4jDate
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"http://purl.org/dc/elements/1.1/format"
format: String
"http://purl.org/dc/elements/1.1/language"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/interface/ThingInterface.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface ThingInterface {
"https://schema.org/alternateName"
alternateName: String
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"https://schema.org/image"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/Action.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type Action implements MetadataInterface & ThingInterface & ActionInterface & Pr
"http://purl.org/dc/elements/1.1/date"
date: _Neo4jDate
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"http://purl.org/dc/elements/1.1/format"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/AddAction.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type AddAction implements ThingInterface & ActionInterface & ProvenanceEntityInt
"https://schema.org/alternateName"
alternateName: String
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"https://schema.org/image"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/Article.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type Article implements MetadataInterface & SearchableInterface & ThingInterface
"http://purl.org/dc/elements/1.1/date"
date: _Neo4jDate
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"http://purl.org/dc/elements/1.1/format"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/Audience.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type Audience implements ThingInterface {
"https://schema.org/alternateName"
alternateName: String
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"https://schema.org/image"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/AudioObject.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type AudioObject implements MetadataInterface & SearchableInterface & ThingInter
"http://purl.org/dc/elements/1.1/date"
date: _Neo4jDate
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"http://purl.org/dc/elements/1.1/format"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/ControlAction.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type ControlAction implements ThingInterface & ActionInterface & ProvenanceEntit
"https://schema.org/alternateName"
alternateName: String
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"https://schema.org/image"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/CreativeWork.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type CreativeWork implements MetadataInterface & SearchableInterface & ThingInte
"http://purl.org/dc/elements/1.1/date"
date: _Neo4jDate
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"http://purl.org/dc/elements/1.1/format"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/DataDownload.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type DataDownload implements MetadataInterface & SearchableInterface & ThingInte
"http://purl.org/dc/elements/1.1/date"
date: _Neo4jDate
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"http://purl.org/dc/elements/1.1/format"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/Dataset.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type Dataset implements MetadataInterface & SearchableInterface & ThingInterface
"http://purl.org/dc/elements/1.1/date"
date: _Neo4jDate
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"http://purl.org/dc/elements/1.1/format"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/DeleteAction.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type DeleteAction implements ThingInterface & ActionInterface & ProvenanceEntity
"https://schema.org/alternateName"
alternateName: String
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"https://schema.org/image"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/DigitalDocument.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type DigitalDocument implements MetadataInterface & SearchableInterface & ThingI
"http://purl.org/dc/elements/1.1/date"
date: _Neo4jDate
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"http://purl.org/dc/elements/1.1/format"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/DigitalDocumentPermission.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type DigitalDocumentPermission implements ThingInterface & ProvenanceEntityInter
"https://schema.org/alternateName"
alternateName: String
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"https://schema.org/image"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/EntryPoint.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type EntryPoint implements MetadataInterface & ThingInterface & ProvenanceEntity
"http://purl.org/dc/elements/1.1/date"
date: _Neo4jDate
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"http://purl.org/dc/elements/1.1/format"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/Event.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type Event implements MetadataInterface & SearchableInterface & ThingInterface &
"http://purl.org/dc/elements/1.1/date"
date: _Neo4jDate
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"http://purl.org/dc/elements/1.1/format"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/ImageObject.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type ImageObject implements MetadataInterface & SearchableInterface & ThingInter
"http://purl.org/dc/elements/1.1/date"
date: _Neo4jDate
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"http://purl.org/dc/elements/1.1/format"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/Intangible.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type Intangible implements MetadataInterface & SearchableInterface & ThingInterf
"http://purl.org/dc/elements/1.1/date"
date: _Neo4jDate
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"http://purl.org/dc/elements/1.1/format"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/ItemList.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type ItemList implements ThingInterface {
"http://purl.org/dc/elements/1.1/title"
title: String!
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"http://purl.org/dc/elements/1.1/type,https://www.w3.org/2000/01/rdf-schema#type"
type: String
#################################
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/ListItem.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type ListItem implements ThingInterface {
"http://purl.org/dc/elements/1.1/title"
title: String!
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"http://purl.org/dc/elements/1.1/type,https://www.w3.org/2000/01/rdf-schema#type"
type: String
#################################
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/MediaObject.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type MediaObject implements MetadataInterface & SearchableInterface & ThingInter
"http://purl.org/dc/elements/1.1/date"
date: _Neo4jDate
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"http://purl.org/dc/elements/1.1/format"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/MusicAlbum.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type MusicAlbum implements MetadataInterface & SearchableInterface & ThingInterf
"http://purl.org/dc/elements/1.1/date"
date: _Neo4jDate
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"http://purl.org/dc/elements/1.1/format"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/MusicComposition.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type MusicComposition implements MetadataInterface & SearchableInterface & Thing
"http://purl.org/dc/elements/1.1/date"
date: _Neo4jDate
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"http://purl.org/dc/elements/1.1/format"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/MusicGroup.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type MusicGroup implements MetadataInterface & SearchableInterface & ThingInterf
"http://purl.org/dc/elements/1.1/date"
date: _Neo4jDate
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"http://purl.org/dc/elements/1.1/format"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/MusicPlaylist.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type MusicPlaylist implements MetadataInterface & SearchableInterface & ThingInt
"http://purl.org/dc/elements/1.1/date"
date: _Neo4jDate
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"http://purl.org/dc/elements/1.1/format"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/MusicRecording.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type MusicRecording implements MetadataInterface & SearchableInterface & ThingIn
"http://purl.org/dc/elements/1.1/date"
date: _Neo4jDate
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"http://purl.org/dc/elements/1.1/format"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/Occupation.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type Occupation implements ThingInterface {
"https://schema.org/alternateName"
alternateName: String
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"https://schema.org/image"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/Organization.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type Organization implements MetadataInterface & SearchableInterface & ThingInte
"http://purl.org/dc/elements/1.1/date"
date: _Neo4jDate
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"http://purl.org/dc/elements/1.1/format"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/Person.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type Person implements MetadataInterface & SearchableInterface & ThingInterface
"http://purl.org/dc/elements/1.1/date"
date: _Neo4jDate
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"http://purl.org/dc/elements/1.1/format"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/Place.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type Place implements MetadataInterface & SearchableInterface & ThingInterface &
"http://purl.org/dc/elements/1.1/date"
date: _Neo4jDate
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"http://purl.org/dc/elements/1.1/format"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/Product.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type Product implements MetadataInterface & SearchableInterface & ThingInterface
"http://purl.org/dc/elements/1.1/date"
date: _Neo4jDate
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"http://purl.org/dc/elements/1.1/format"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/Property.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type Property implements ThingInterface {
"http://purl.org/dc/elements/1.1/title"
title: String!
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"http://purl.org/dc/elements/1.1/type,https://www.w3.org/2000/01/rdf-schema#type"
type: String
#################################
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/PropertyValue.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type PropertyValue {
"http://purl.org/dc/elements/1.1/title"
title: String!
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"http://purl.org/dc/elements/1.1/type,https://www.w3.org/2000/01/rdf-schema#type"
type: String
#################################
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/PropertyValueSpecification.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type PropertyValueSpecification {
"http://purl.org/dc/elements/1.1/type,https://www.w3.org/2000/01/rdf-schema#type"
type: String
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
#################################
### ThingInterface properties ###
"https://schema.org/additionalType"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/ReplaceAction.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type ReplaceAction implements ThingInterface & ActionInterface & ProvenanceEntit
"https://schema.org/alternateName"
alternateName: String
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"https://schema.org/image"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/Review.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type Review implements MetadataInterface & SearchableInterface & ThingInterface
"http://purl.org/dc/elements/1.1/date"
date: _Neo4jDate
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"http://purl.org/dc/elements/1.1/format"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/SoftwareApplication.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type SoftwareApplication implements MetadataInterface & SearchableInterface & Th
"http://purl.org/dc/elements/1.1/date"
date: _Neo4jDate
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"http://purl.org/dc/elements/1.1/format"
Expand Down
2 changes: 1 addition & 1 deletion src/schema/type/VideoObject.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type VideoObject implements MetadataInterface & SearchableInterface & ThingInter
"http://purl.org/dc/elements/1.1/date"
date: _Neo4jDate
"http://purl.org/dc/elements/1.1/description,https://schema.org/description"
description: String!
description: String
"https://schema.org/disambiguatingDescription"
disambiguatingDescription: String
"http://purl.org/dc/elements/1.1/format"
Expand Down

0 comments on commit 5f77848

Please sign in to comment.