Skip to content

Commit

Permalink
Add 0.10.11 dev version
Browse files Browse the repository at this point in the history
  • Loading branch information
cselvaraj committed Apr 3, 2024
1 parent 5cc2c78 commit 3f0993f
Show file tree
Hide file tree
Showing 327 changed files with 16,111 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ For more information, please refer to GitHub documentation:
- <https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry#installing-a-package>
- <https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry#authenticating-to-github-packages>

## The current production version of ANS is 0.10.9
## The current production version of ANS is 0.10.10

## The current development version of ANS is 0.10.10
## The current development version of ANS is 0.10.11

## Schema files

Expand Down
20 changes: 20 additions & 0 deletions lib/upvert/0.10.10.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
'use strict';

var _ = require('lodash');
var current_version = require('../version');
var transform_utils = require('../transform_utils');

var version_incrementer = transform_utils.version_incrementer;
var top_level_types = transform_utils.top_level_types;
var accumulatorFor = transform_utils.accumulatorFor;

var upvert = function(input) {
var output = version_incrementer("0.10.11")(input);

// TODO: Add upvert logic here
// If change is non-breaking, you can leave this as-is.

return output;
};

module.exports = upvert;
6 changes: 6 additions & 0 deletions lib/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,12 @@
{
"name": "0.10.10",
"schema": true,
"upverter": true,
"downverter": false
},
{
"name": "0.10.11",
"schema": true,
"upverter": false,
"downverter": false
}
Expand Down
184 changes: 184 additions & 0 deletions src/main/resources/schema/ans/0.10.11/audio.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,184 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/audio.json",
"description": "Audio Content",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"enum": [ "audio" ]
},

"_id": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_id.json"
},
"version": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_version.json"
},
"subtype": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_subtype.json"
},
"channels": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_channel.json"
},
"alignment": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_alignment.json"
},

"language": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_locale.json"
},
"copyright": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_copyright.json"
},
"canonical_url": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_canonical_url.json"
},
"short_url": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_short_url.json"
},
"created_date": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_created_date.json"
},
"last_updated_date": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_last_updated_date.json"
},
"publish_date": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_publish_date.json"
},
"first_publish_date": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_first_publish_date.json"
},
"display_date": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_display_date.json"
},
"location": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_location.json"
},
"geo": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_geo.json"
},
"address": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_address.json"
},
"editor_note": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_editor_note.json"
},
"status": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_status.json"
},
"headlines": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_headlines.json"
},
"subheadlines": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_subheadlines.json"
},
"description": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_description.json"
},
"credits": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_credits.json"
},
"vanity_credits": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_vanity_credits.json"
},
"taxonomy": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_taxonomy.json"
},
"promo_items": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_promo_items.json"
},
"related_content": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_related_content.json"
},
"owner": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_owner.json"
},
"planning": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_planning.json"
},
"workflow": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_workflow.json"
},
"pitches": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_pitches.json"
},
"revision": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_revision.json"
},
"syndication": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_syndication.json"
},
"source": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_source.json"
},
"distributor": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_distributor.json"
},
"tracking": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_tracking.json"
},
"comments": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_comments.json"
},
"label": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_label.json"
},
"slug": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_slug.json"
},
"content_restrictions": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_content_restrictions.json"
},

"additional_properties": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_additional_properties.json"
},

"content_aliases": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_content_aliases.json"
},


"source_url": {
"description": "(Deprecated.) The audio source file. Use 'streams' instead.",
"type": "string"
},
"mimetype": {
"description": "(Deprecated.) Mime type of audio source file. Use 'streams' instead.",
"type": "string"
},
"autoplay": {
"description": "Whether to autoplay is enabled.",
"type": "boolean"
},
"controls": {
"description": "Whether controls are enabled.",
"type": "boolean"
},
"loop": {
"description": "Whether looping is enabled.",
"type": "boolean"
},
"preload": {
"description": "Whether preload is enabled.",
"type": "boolean"
},

"streams": {
"description": "The different streams this audio can play in.",
"type": "array",
"minItems": 1,
"items": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/utils/audio_stream.json"
}
}
},
"required": [ "type", "version" ],
"oneOf": [{
"required": [ "streams" ]
}, {
"required": [ "source_url" ]
}]
}
50 changes: 50 additions & 0 deletions src/main/resources/schema/ans/0.10.11/author_operation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/author_operation.json",
"description": "An operation on a author",
"type": "object",
"allOf": [{
"properties": {
"type": {
"description": "Identifies this as an ANS operation",
"type": "string",
"enum": [ "author-service" ]
},
"operation": {
"type": "string",
"description": "The identifier of the operation being performed",
"enum": [ "insert", "update", "delete" ]
},
"date": {
"description": "When the operation should be considered performed",
"type": "string",
"format": "date-time"
},
"id": {
"type": "string",
"description": "The id of the item being operated"
},
"organization_id": {
"type": "string",
"description": "The id of the organization"
},
"version": {
"type": "string",
"description": "The version of ANS this item is written in"
},

"priority": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_priority.json"
},
"app_name": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_app_name.json"
},

"body": {
"description": "The object being inserted/updated/deleted",
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/utils/author.json"
}
},
"required": [ "type", "operation", "id", "organization_id" ]
}]
}
82 changes: 82 additions & 0 deletions src/main/resources/schema/ans/0.10.11/clavis_operation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/clavis_operation.json",
"description": "An operation to add Clavis information to a story.",
"type": "object",
"allOf": [{
"properties": {
"type": {
"description": "Identifies this as an ANS operation",
"type": "string",
"enum": [ "clavis-operation" ]
},
"operation": {
"type": "string",
"description": "The identifier of the operation being performed",
"enum": [ "update" ]
},
"date": {
"description": "When the operation should be considered performed",
"type": "string",
"format": "date-time"
},
"id": {
"type": "string",
"description": "The id of the item being operated"
},
"organization_id": {
"type": "string",
"description": "The id of the organization"
},
"branch": {
"type": "string",
"description": "The name of the branch within Story API that this operation occurs on, if any"
},
"published": {
"type": "boolean",
"description": "Identifies this item as published or not"
},
"version": {
"type": "string",
"description": "The version of ANS this item is written in"
},

"priority": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_priority.json"
},
"app_name": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/traits/trait_app_name.json"
},

"keywords": {
"type": "array",
"items": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/utils/keyword.json"
},
"description": "A list of keywords."
},
"named_entities": {
"type": "array",
"items": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/utils/named_entity.json"
},
"description": "A list of named entities."
},
"topics": {
"type": "array",
"items": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/utils/topic.json"
},
"description": "A list of topics."
},
"auxiliaries": {
"type": "array",
"items": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.11/utils/auxiliary.json"
},
"description": "A list of auxiliaries."
}
},
"required": [ "type", "operation", "id", "organization_id", "branch", "published" ]
}]
}
Loading

0 comments on commit 3f0993f

Please sign in to comment.