Skip to content

Commit

Permalink
Merge pull request #10 from CondeNast/canary
Browse files Browse the repository at this point in the history
chore: release
  • Loading branch information
lilyhealey authored Dec 19, 2024
2 parents d3d9dec + 45cdcbe commit cc1f437
Show file tree
Hide file tree
Showing 6 changed files with 1,009 additions and 60 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
**/*.csv
52 changes: 51 additions & 1 deletion article.schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/CondeNast/tny-archive-schemas/v1.3.2/article.schema.json",
"$id": "https://raw.githubusercontent.com/CondeNast/tny-archive-schemas/v1.3.3/article.schema.json",
"title": "Article",
"description": "A New Yorker article.",
"type": "object",
Expand Down Expand Up @@ -474,6 +474,21 @@
},
"anyEvent": {
"allOf": [
{
"if": {
"properties": {
"@type": {
"const": "BroadcastEvent"
}
},
"required": [
"@type"
]
},
"then": {
"$ref": "#/$defs/schema.org/BroadcastEvent"
}
},
{
"if": {
"properties": {
Expand Down Expand Up @@ -583,6 +598,16 @@
"if": {
"not": {
"anyOf": [
{
"properties": {
"@type": {
"const": "BroadcastEvent"
}
},
"required": [
"@type"
]
},
{
"properties": {
"@type": {
Expand Down Expand Up @@ -1374,6 +1399,21 @@
"$ref": "#/$defs/schema.org/Book"
}
},
{
"if": {
"properties": {
"@type": {
"const": "BroadcastEvent"
}
},
"required": [
"@type"
]
},
"then": {
"$ref": "#/$defs/schema.org/BroadcastEvent"
}
},
{
"if": {
"properties": {
Expand Down Expand Up @@ -1648,6 +1688,16 @@
"@type"
]
},
{
"properties": {
"@type": {
"const": "BroadcastEvent"
}
},
"required": [
"@type"
]
},
{
"properties": {
"@type": {
Expand Down
Loading

0 comments on commit cc1f437

Please sign in to comment.