-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating staging from
dev
for documentation (#251)
* update language around subtypes for the divisions theme documentation (#248) * update language around subtypes for the divisions theme * add dependency to the list of available subtypes * [documentation] Address scaffolding for schema pages (#233) * address scaffolding for schema pages * Initial schema docs description * Update address.mdx --------- Co-authored-by: Jacob Wasserman <[email protected]> --------- Co-authored-by: Dana Bauer <[email protected]> Co-authored-by: Jacob Wasserman <[email protected]>
- Loading branch information
1 parent
d4fd084
commit 88ffb3e
Showing
5 changed files
with
204 additions
and
5 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
docusaurus/docs/schema/concepts/by-theme/addresses/index.mdx
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
title: Addresses | ||
draft: true | ||
--- | ||
|
||
## Overview | ||
The Overture Address theme is a compilation of open address datasets usually | ||
published by local authorized sources. In our initial release, we use the datasets | ||
that are collected and distributed by [OpenAdddresses](https://openaddresses.io). | ||
|
||
The initial schema for addresses is fairly simple and is expected to expand into | ||
more complex addressing schemes. | ||
|
||
|
||
|
||
## Feature types | ||
The address theme has a single feature type. | ||
- `address` is a point feature type representing a single address point. | ||
|
||
## Theme concepts | ||
|
||
## Schema reference | ||
- [Explore the schema for the address feature type](/schema/reference/Addresses/address) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
--- | ||
title: address | ||
--- | ||
|
||
import CodeBlock from '@theme/CodeBlock'; | ||
import JSONSchemaViewer from "@theme/JSONSchemaViewer"; | ||
import generateResolverOptions from "@site/src/components/shared-libs/generateResolverOptions" | ||
import yamlLoad from "@site/src/components/yamlLoad" | ||
import AddressSchema from "!!raw-loader!@site/docs/_schema/addresses/address.yaml"; | ||
|
||
import AddressExample from "!!raw-loader!@site/docs/_examples/addresses/address.yaml"; | ||
|
||
import Tabs from '@theme/Tabs'; | ||
import TabItem from '@theme/TabItem'; | ||
|
||
# Address | ||
|
||
The Overture Address type is a compilation of open address datasets usually | ||
published by local authorized sources. In our initial release, we use the datasets | ||
that are collected and distributed by [OpenAdddresses](https://openaddresses.io). | ||
|
||
The initial schema for addresses is fairly simple and is expected to expand into | ||
more complex addressing schemes. | ||
|
||
## Feature types | ||
The address theme has a single feature type. | ||
- `address` is a point feature type representing a single address point. | ||
|
||
## Theme concepts | ||
|
||
|
||
<table> | ||
<tbody> | ||
<tr> | ||
<th>Geometry Type</th> | ||
<td> | ||
<code>Point</code> | ||
</td> | ||
</tr> | ||
<tr> | ||
<th>Theme</th> | ||
<td><code>addresses</code></td> | ||
</tr> | ||
<tr> | ||
<th>Type</th> | ||
<td><code>address</code></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
|
||
## Schema | ||
|
||
<Tabs> | ||
<TabItem value="browsable" label="Browsable" default> | ||
<JSONSchemaViewer schema={ yamlLoad(AddressSchema) } resolverOptions={ generateResolverOptions({remote: true, yamlBasePath: '/addresses'})}/> | ||
</TabItem> | ||
<TabItem value="yaml" label="YAML" default> | ||
<CodeBlock language="jsx">{AddressSchema}</CodeBlock> | ||
</TabItem> | ||
</Tabs> | ||
|
||
## Examples | ||
|
||
<Tabs> | ||
<TabItem value="1" label="Address Example" default> | ||
<CodeBlock language="json">{ JSON.stringify(yamlLoad(AddressExample), null, 2) }</CodeBlock> | ||
</TabItem> | ||
</Tabs> |
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
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
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