19 lines
315 B
Go
19 lines
315 B
Go
package datastore
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type SpecDefinitionHeader struct {
|
|
Name string `json:"name"`
|
|
Version string `json:"version"`
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
UpdatedAt time.Time `json:"updatedAt"`
|
|
}
|
|
|
|
type SpecDefinition struct {
|
|
SpecDefinitionHeader
|
|
|
|
Schema []byte `json:"schema"`
|
|
}
|