Avro Avsc
Avro Avsc file
| Type | avroSchema |
|---|---|
| File match |
*.avsc
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/avro-avsc/latest.json |
| Source | https://www.schemastore.org/avro-avsc.json |
Validate with Lintel
npx @lintel/lintel check
Type:
avroSchema
Json-Schema definition for Avro AVSC files.
One of
Definitions
avroSchema
types
Root Schema
types
primitiveType | primitiveTypeWithMetadata | customTypeReference | avroRecord | avroEnum | avroArray | avroMap | avroFixed | avroUnion
Allowed Avro types
primitiveType
string
Basic type primitives.
primitiveTypeWithMetadata
object
A primitive type with metadata attached.
Basic type primitives.
customTypeReference
string
Reference to a ComplexType
avroUnion
avroSchema[]
A Union of types
avroField
object
A field within a Record
pattern=^[A-Za-z_][A-Za-z0-9_]*$
type
primitiveType | primitiveTypeWithMetadata | customTypeReference | avroRecord | avroEnum | avroArray | avroMap | avroFixed | avroUnion
required
Allowed Avro types
doc
string
default
order
enum
aliases
name[]
avroRecord
object
avroEnum
object
avroArray
object
An array
type
string
required
items
primitiveType | primitiveTypeWithMetadata | customTypeReference | avroRecord | avroEnum | avroArray | avroMap | avroFixed | avroUnion
required
Allowed Avro types
name
string
pattern=^[A-Za-z_][A-Za-z0-9_]*$
namespace
string
pattern=^([A-Za-z_][A-Za-z0-9_]*(\.[A-Za-z_][A-Za-z0-9_]*)*)*$
doc
string
aliases
name[]
avroMap
object
A map of values
type
string
required
values
primitiveType | primitiveTypeWithMetadata | customTypeReference | avroRecord | avroEnum | avroArray | avroMap | avroFixed | avroUnion
required
Allowed Avro types
name
string
pattern=^[A-Za-z_][A-Za-z0-9_]*$
namespace
string
pattern=^([A-Za-z_][A-Za-z0-9_]*(\.[A-Za-z_][A-Za-z0-9_]*)*)*$
doc
string
aliases
name[]
avroFixed
object
name
string
namespace
string