Skip to content

Commit

Permalink
Merge pull request #790 from plural/designed-and-printed-by
Browse files Browse the repository at this point in the history
Add designed_by and released_by attributes
  • Loading branch information
plural authored Oct 18, 2023
2 parents 60c7b6d + 8dd939c commit ce58b2c
Show file tree
Hide file tree
Showing 1,905 changed files with 6,549 additions and 2,331 deletions.
7 changes: 6 additions & 1 deletion schema/v2/card_cycles_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,13 @@
},
"description": {
"type": "string"
},
"released_by": {
"minLength": 1,
"type": "string",
"enum": ["fantasy_flight_games", "null_signal_games"]
}
},
"required": ["id", "legacy_code", "name"]
"required": ["id", "legacy_code", "name", "released_by"]
}
}
6 changes: 6 additions & 0 deletions schema/v2/card_sets_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@
"size": {
"minimum": 1,
"type": "integer"
},
"released_by": {
"minLength": 1,
"type": "string",
"enum": ["fantasy_flight_games", "null_signal_games"]
}
},
"required": [
Expand All @@ -47,6 +52,7 @@
"legacy_code",
"name",
"position",
"released_by",
"size"
]
}
Expand Down
16 changes: 11 additions & 5 deletions schema/v2/cards_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -341,16 +341,22 @@
"items": {
"type": "string"
}
},
"designed_by": {
"minLength": 1,
"type": "string",
"enum": ["fantasy_flight_games", "null_signal_games"]
}
},
"required": [
"id",
"faction_id",
"card_type_id",
"deck_limit",
"designed_by",
"faction_id",
"id",
"is_unique",
"side_id",
"title",
"card_type_id",
"is_unique"
"title"
],
"dependentSchemas": {
"layout_id": {
Expand Down
14 changes: 13 additions & 1 deletion schema/v2/printings_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@
"minimum": 1,
"type": "integer"
},
"released_by": {
"minLength": 1,
"type": "string",
"enum": ["fantasy_flight_games", "null_signal_games"]
},
"faces": {
"oneOf": [
{
Expand All @@ -60,7 +65,14 @@
]
}
},
"required": ["card_id", "card_set_id", "id", "position", "quantity"],
"required": [
"card_id",
"card_set_id",
"id",
"position",
"quantity",
"released_by"
],
"dependentSchemas": {
"layout_id": {
"oneOf": [
Expand Down
81 changes: 54 additions & 27 deletions v2/card_cycles.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,136 +2,163 @@
{
"id": "draft",
"legacy_code": "draft",
"name": "Draft"
"name": "Draft",
"released_by": "fantasy_flight_games"
},
{
"id": "core_set",
"legacy_code": "core",
"name": "Core Set"
"name": "Core Set",
"released_by": "fantasy_flight_games"
},
{
"id": "genesis",
"legacy_code": "genesis",
"name": "Genesis"
"name": "Genesis",
"released_by": "fantasy_flight_games"
},
{
"id": "creation_and_control",
"legacy_code": "creation-and-control",
"name": "Creation and Control"
"name": "Creation and Control",
"released_by": "fantasy_flight_games"
},
{
"id": "spin",
"legacy_code": "spin",
"name": "Spin"
"name": "Spin",
"released_by": "fantasy_flight_games"
},
{
"id": "honor_and_profit",
"legacy_code": "honor-and-profit",
"name": "Honor and Profit"
"name": "Honor and Profit",
"released_by": "fantasy_flight_games"
},
{
"id": "lunar",
"legacy_code": "lunar",
"name": "Lunar"
"name": "Lunar",
"released_by": "fantasy_flight_games"
},
{
"id": "order_and_chaos",
"legacy_code": "order-and-chaos",
"name": "Order and Chaos"
"name": "Order and Chaos",
"released_by": "fantasy_flight_games"
},
{
"id": "sansan",
"legacy_code": "sansan",
"name": "SanSan"
"name": "SanSan",
"released_by": "fantasy_flight_games"
},
{
"id": "data_and_destiny",
"legacy_code": "data-and-destiny",
"name": "Data and Destiny"
"name": "Data and Destiny",
"released_by": "fantasy_flight_games"
},
{
"id": "mumbad",
"legacy_code": "mumbad",
"name": "Mumbad"
"name": "Mumbad",
"released_by": "fantasy_flight_games"
},
{
"id": "flashpoint",
"legacy_code": "flashpoint",
"name": "Flashpoint"
"name": "Flashpoint",
"released_by": "fantasy_flight_games"
},
{
"id": "red_sand",
"legacy_code": "red-sand",
"name": "Red Sand"
"name": "Red Sand",
"released_by": "fantasy_flight_games"
},
{
"id": "terminal_directive",
"legacy_code": "terminal-directive",
"name": "Terminal Directive"
"name": "Terminal Directive",
"released_by": "fantasy_flight_games"
},
{
"id": "revised_core_set",
"legacy_code": "core2",
"name": "Revised Core Set"
"name": "Revised Core Set",
"released_by": "fantasy_flight_games"
},
{
"id": "kitara",
"legacy_code": "kitara",
"name": "Kitara"
"name": "Kitara",
"released_by": "fantasy_flight_games"
},
{
"id": "reign_and_reverie",
"legacy_code": "reign-and-reverie",
"name": "Reign and Reverie"
"name": "Reign and Reverie",
"released_by": "fantasy_flight_games"
},
{
"id": "magnum_opus",
"legacy_code": "magnum-opus",
"name": "Magnum Opus"
"name": "Magnum Opus",
"released_by": "fantasy_flight_games"
},
{
"id": "napd_multiplayer",
"legacy_code": "napd",
"name": "NAPD Multiplayer"
"name": "NAPD Multiplayer",
"released_by": "fantasy_flight_games"
},
{
"id": "system_core_2019",
"legacy_code": "sc19",
"name": "System Core 2019"
"name": "System Core 2019",
"released_by": "null_signal_games"
},
{
"id": "ashes",
"legacy_code": "ashes",
"name": "Ashes"
"name": "Ashes",
"released_by": "null_signal_games"
},
{
"id": "magnum_opus_reprint",
"legacy_code": "magnum-opus-reprint",
"name": "Magnum Opus Reprint"
"name": "Magnum Opus Reprint",
"released_by": "null_signal_games"
},
{
"id": "salvaged_memories",
"legacy_code": "salvaged-memories",
"name": "Salvaged Memories"
"name": "Salvaged Memories",
"released_by": "null_signal_games"
},
{
"id": "system_gateway",
"legacy_code": "system-gateway",
"name": "System Gateway"
"name": "System Gateway",
"released_by": "null_signal_games"
},
{
"id": "system_update_2021",
"legacy_code": "system-update-2021",
"name": "System Update 2021"
"name": "System Update 2021",
"released_by": "null_signal_games"
},
{
"id": "borealis",
"legacy_code": "borealis",
"name": "Borealis"
"name": "Borealis",
"released_by": "null_signal_games"
},
{
"id": "liberation",
"legacy_code": "liberation",
"name": "Liberation"
"name": "Liberation",
"released_by": "null_signal_games"
}
]
Loading

0 comments on commit ce58b2c

Please sign in to comment.