Created
August 15, 2023 14:00
-
-
Save flash1293/c753fe9522261f902b5ab623bd52c2ef to your computer and use it in GitHub Desktop.
Created with UI, failing validation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 0.50.2 | |
type: DeclarativeSource | |
check: | |
type: CheckStream | |
stream_names: | |
- pokemon listX | |
streams: | |
- type: DeclarativeStream | |
name: pokemon listX | |
primary_key: [] | |
schema_loader: | |
type: InlineSchemaLoader | |
schema: | |
$schema: http://json-schema.org/schema# | |
properties: | |
name: | |
type: string | |
url: | |
type: string | |
type: object | |
retriever: | |
type: SimpleRetriever | |
requester: | |
type: HttpRequester | |
url_base: https://pokeapi.co/api/v2/ | |
path: pokemon | |
http_method: GET | |
request_parameters: {} | |
request_headers: {} | |
authenticator: | |
type: SessionTokenAuthenticator | |
login_requester: | |
type: HttpRequester | |
url_base: https://pokeapi.co/api/v2/ | |
authenticator: | |
type: NoAuth | |
http_method: POST | |
request_parameters: {} | |
request_headers: {} | |
request_body_json: {} | |
session_token_path: | |
- count | |
expiration_duration: P1D | |
request_authentication: | |
type: Bearer | |
request_body_json: {} | |
record_selector: | |
type: RecordSelector | |
extractor: | |
type: DpathExtractor | |
field_path: | |
- results | |
paginator: | |
type: DefaultPaginator | |
page_token_option: | |
type: RequestOption | |
inject_into: request_parameter | |
field_name: offset | |
pagination_strategy: | |
type: OffsetIncrement | |
- type: DeclarativeStream | |
name: pokemon detail | |
primary_key: [] | |
schema_loader: | |
type: InlineSchemaLoader | |
schema: | |
$schema: http://json-schema.org/schema# | |
properties: | |
base_experience: | |
type: number | |
height: | |
type: number | |
held_items: | |
type: array | |
id: | |
type: number | |
is_default: | |
type: boolean | |
location_area_encounters: | |
type: string | |
name: | |
type: string | |
order: | |
type: number | |
past_types: | |
type: array | |
species: | |
properties: | |
name: | |
type: string | |
url: | |
type: string | |
type: object | |
sprites: | |
properties: | |
back_default: | |
type: string | |
back_female: | |
type: | |
- 'null' | |
- string | |
back_shiny: | |
type: string | |
back_shiny_female: | |
type: | |
- 'null' | |
- string | |
front_default: | |
type: string | |
front_female: | |
type: | |
- 'null' | |
- string | |
front_shiny: | |
type: string | |
front_shiny_female: | |
type: | |
- 'null' | |
- string | |
other: | |
properties: | |
dream_world: | |
properties: | |
front_default: | |
type: string | |
type: object | |
home: | |
properties: | |
front_default: | |
type: string | |
front_female: | |
type: | |
- 'null' | |
- string | |
front_shiny: | |
type: string | |
front_shiny_female: | |
type: | |
- 'null' | |
- string | |
type: object | |
official-artwork: | |
properties: | |
front_default: | |
type: string | |
front_shiny: | |
type: string | |
type: object | |
type: object | |
versions: | |
properties: | |
generation-i: | |
properties: | |
red-blue: | |
properties: | |
back_default: | |
type: string | |
back_gray: | |
type: string | |
back_transparent: | |
type: string | |
front_default: | |
type: string | |
front_gray: | |
type: string | |
front_transparent: | |
type: string | |
type: object | |
yellow: | |
properties: | |
back_default: | |
type: string | |
back_gray: | |
type: string | |
back_transparent: | |
type: string | |
front_default: | |
type: string | |
front_gray: | |
type: string | |
front_transparent: | |
type: string | |
type: object | |
type: object | |
generation-ii: | |
properties: | |
crystal: | |
properties: | |
back_default: | |
type: string | |
back_shiny: | |
type: string | |
back_shiny_transparent: | |
type: string | |
back_transparent: | |
type: string | |
front_default: | |
type: string | |
front_shiny: | |
type: string | |
front_shiny_transparent: | |
type: string | |
front_transparent: | |
type: string | |
type: object | |
gold: | |
properties: | |
back_default: | |
type: string | |
back_shiny: | |
type: string | |
front_default: | |
type: string | |
front_shiny: | |
type: string | |
front_transparent: | |
type: string | |
type: object | |
silver: | |
properties: | |
back_default: | |
type: string | |
back_shiny: | |
type: string | |
front_default: | |
type: string | |
front_shiny: | |
type: string | |
front_transparent: | |
type: string | |
type: object | |
type: object | |
generation-iii: | |
properties: | |
emerald: | |
properties: | |
front_default: | |
type: string | |
front_shiny: | |
type: string | |
type: object | |
firered-leafgreen: | |
properties: | |
back_default: | |
type: string | |
back_shiny: | |
type: string | |
front_default: | |
type: string | |
front_shiny: | |
type: string | |
type: object | |
ruby-sapphire: | |
properties: | |
back_default: | |
type: string | |
back_shiny: | |
type: string | |
front_default: | |
type: string | |
front_shiny: | |
type: string | |
type: object | |
type: object | |
generation-iv: | |
properties: | |
diamond-pearl: | |
properties: | |
back_default: | |
type: string | |
back_female: | |
type: | |
- 'null' | |
- string | |
back_shiny: | |
type: string | |
back_shiny_female: | |
type: | |
- 'null' | |
- string | |
front_default: | |
type: string | |
front_female: | |
type: | |
- 'null' | |
- string | |
front_shiny: | |
type: string | |
front_shiny_female: | |
type: | |
- 'null' | |
- string | |
type: object | |
heartgold-soulsilver: | |
properties: | |
back_default: | |
type: string | |
back_female: | |
type: | |
- 'null' | |
- string | |
back_shiny: | |
type: string | |
back_shiny_female: | |
type: | |
- 'null' | |
- string | |
front_default: | |
type: string | |
front_female: | |
type: | |
- 'null' | |
- string | |
front_shiny: | |
type: string | |
front_shiny_female: | |
type: | |
- 'null' | |
- string | |
type: object | |
platinum: | |
properties: | |
back_default: | |
type: string | |
back_female: | |
type: | |
- 'null' | |
- string | |
back_shiny: | |
type: string | |
back_shiny_female: | |
type: | |
- 'null' | |
- string | |
front_default: | |
type: string | |
front_female: | |
type: | |
- 'null' | |
- string | |
front_shiny: | |
type: string | |
front_shiny_female: | |
type: | |
- 'null' | |
- string | |
type: object | |
type: object | |
generation-v: | |
properties: | |
black-white: | |
properties: | |
animated: | |
properties: | |
back_default: | |
type: string | |
back_female: | |
type: | |
- 'null' | |
- string | |
back_shiny: | |
type: string | |
back_shiny_female: | |
type: | |
- 'null' | |
- string | |
front_default: | |
type: string | |
front_female: | |
type: | |
- 'null' | |
- string | |
front_shiny: | |
type: string | |
front_shiny_female: | |
type: | |
- 'null' | |
- string | |
type: object | |
back_default: | |
type: string | |
back_female: | |
type: | |
- 'null' | |
- string | |
back_shiny: | |
type: string | |
back_shiny_female: | |
type: | |
- 'null' | |
- string | |
front_default: | |
type: string | |
front_female: | |
type: | |
- 'null' | |
- string | |
front_shiny: | |
type: string | |
front_shiny_female: | |
type: | |
- 'null' | |
- string | |
type: object | |
type: object | |
generation-vi: | |
properties: | |
omegaruby-alphasapphire: | |
properties: | |
front_default: | |
type: string | |
front_female: | |
type: | |
- 'null' | |
- string | |
front_shiny: | |
type: string | |
front_shiny_female: | |
type: | |
- 'null' | |
- string | |
type: object | |
x-y: | |
properties: | |
front_default: | |
type: string | |
front_female: | |
type: | |
- 'null' | |
- string | |
front_shiny: | |
type: string | |
front_shiny_female: | |
type: | |
- 'null' | |
- string | |
type: object | |
type: object | |
generation-vii: | |
properties: | |
icons: | |
properties: | |
front_default: | |
type: string | |
type: object | |
ultra-sun-ultra-moon: | |
properties: | |
front_default: | |
type: string | |
front_female: | |
type: | |
- 'null' | |
- string | |
front_shiny: | |
type: string | |
front_shiny_female: | |
type: | |
- 'null' | |
- string | |
type: object | |
type: object | |
generation-viii: | |
properties: | |
icons: | |
properties: | |
front_default: | |
type: string | |
type: object | |
type: object | |
type: object | |
type: object | |
stats: | |
items: | |
properties: | |
base_stat: | |
type: number | |
effort: | |
type: number | |
stat: | |
properties: | |
name: | |
type: string | |
url: | |
type: string | |
type: object | |
type: object | |
type: array | |
types: | |
items: | |
properties: | |
slot: | |
type: number | |
type: | |
properties: | |
name: | |
type: string | |
url: | |
type: string | |
type: object | |
type: object | |
type: array | |
weight: | |
type: number | |
type: object | |
retriever: | |
type: SimpleRetriever | |
requester: | |
type: HttpRequester | |
url_base: https://pokeapi.co/api/v2/ | |
path: pokemon/{{ stream_partition['name'] }} | |
http_method: GET | |
request_parameters: {} | |
request_headers: {} | |
authenticator: | |
type: SessionTokenAuthenticator | |
login_requester: | |
type: HttpRequester | |
url_base: https://pokeapi.co/api/v2/ | |
authenticator: | |
type: NoAuth | |
http_method: POST | |
request_parameters: {} | |
request_headers: {} | |
request_body_json: {} | |
session_token_path: | |
- count | |
expiration_duration: P1D | |
request_authentication: | |
type: Bearer | |
request_body_json: {} | |
record_selector: | |
type: RecordSelector | |
extractor: | |
type: DpathExtractor | |
field_path: [] | |
paginator: | |
type: NoPagination | |
partition_router: | |
- type: SubstreamPartitionRouter | |
parent_stream_configs: | |
- type: ParentStreamConfig | |
parent_key: name | |
partition_field: name | |
stream: | |
type: DeclarativeStream | |
name: pokemon listX | |
primary_key: [] | |
schema_loader: | |
type: InlineSchemaLoader | |
schema: | |
$schema: http://json-schema.org/schema# | |
properties: | |
name: | |
type: string | |
url: | |
type: string | |
type: object | |
retriever: | |
type: SimpleRetriever | |
requester: | |
type: HttpRequester | |
url_base: https://pokeapi.co/api/v2/ | |
path: pokemon | |
http_method: GET | |
request_parameters: {} | |
request_headers: {} | |
authenticator: | |
type: SessionTokenAuthenticator | |
login_requester: | |
type: HttpRequester | |
url_base: https://pokeapi.co/api/v2/ | |
authenticator: | |
type: NoAuth | |
http_method: POST | |
request_parameters: {} | |
request_headers: {} | |
request_body_json: {} | |
session_token_path: | |
- count | |
expiration_duration: P1D | |
request_authentication: | |
type: Bearer | |
request_body_json: {} | |
record_selector: | |
type: RecordSelector | |
extractor: | |
type: DpathExtractor | |
field_path: | |
- results | |
paginator: | |
type: DefaultPaginator | |
page_token_option: | |
type: RequestOption | |
inject_into: request_parameter | |
field_name: offset | |
pagination_strategy: | |
type: OffsetIncrement | |
transformations: | |
- type: RemoveFields | |
field_pointers: | |
- - abilities | |
- type: RemoveFields | |
field_pointers: | |
- - forms | |
- type: RemoveFields | |
field_pointers: | |
- - game_indices | |
- type: RemoveFields | |
field_pointers: | |
- - moves | |
spec: | |
connection_specification: | |
$schema: http://json-schema.org/draft-07/schema# | |
type: object | |
required: | |
- test | |
properties: | |
test: | |
title: test | |
type: string | |
order: 0 | |
additionalProperties: true | |
documentation_url: https://example.org | |
type: Spec | |
metadata: | |
autoImportSchema: | |
pokemon listX: false | |
pokemon detail: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment