/* autogenerated file */
#ifndef OCI_IMAGE_LAYOUT_SCHEMA_H
# define OCI_IMAGE_LAYOUT_SCHEMA_H

# include <sys/types.h>
# include <stdint.h>
# include "json_common.h"

typedef struct {
    char *image_layout_version;

}
oci_image_layout;

void free_oci_image_layout (oci_image_layout *ptr);

oci_image_layout *make_oci_image_layout (yajl_val tree, struct parser_context *ctx, parser_error *err);

bool gen_oci_image_layout (yajl_gen g, oci_image_layout *ptr, struct parser_context *ctx, parser_error *err);

oci_image_layout *oci_image_layout_parse_file (const char *filename, struct parser_context *ctx, parser_error *err);

oci_image_layout *oci_image_layout_parse_file_stream (FILE *stream, struct parser_context *ctx, parser_error *err);

oci_image_layout *oci_image_layout_parse_data (const char *jsondata, struct parser_context *ctx, parser_error *err);

char *oci_image_layout_generate_json (oci_image_layout *ptr, struct parser_context *ctx, parser_error *err);

#endif
