org.openapijsonschematools.client.components.schemas.Address.java public class Address
A class that contains necessary nested schema classes, and classes to store validated list and map payloads
| Modifier and Type | Class and Description |
|---|---|
| static class | Address.Address1 schema class |
| static class | Address.AddressMap output class for Map payloads |
| static class | Address.AdditionalProperties schema class |
public static class Address1
extends JsonSchema
A schema class that validates payloads
| Modifier and Type | Field and Description |
|---|---|
| static LinkedHashMap<String, KeywordValidator> | keywordToValidator new LinkedHashMap<>(Map.ofEntries( new KeywordEntry("type", new TypeValidator(Set.of(FrozenMap.class))), new KeywordEntry("additionalProperties", new AdditionalPropertiesValidator(AdditionalProperties.class)) )); |
| Modifier and Type | Method and Description |
|---|---|
| static AddressMap | validate(Map<String, Long> arg, SchemaConfiguration configuration) |
public static class AddressMap
extends FrozenMap<String, Long>
A class to store validated Map payloads
| Modifier and Type | Method and Description |
|---|---|
| static AddressMap | of(Map<String, Long> arg, SchemaConfiguration configuration) |
| long | getAdditionalProperty(String name) provides type safety for additional properties |
type: Map<String, Object>
| Key | Type | Description | Notes |
|---|---|---|---|
| anyStringName | long | any string name can be used but the value must be the correct type | [optional] |
public static class AdditionalProperties
extends IntJsonSchema
A schema class that validates payloads
| Methods Inherited from class org.openapijsonschematools.client.schemas.IntJsonSchema |
|---|
| validate |