blob: 623fec32ca1b9d9367384731be7dca3efef28f6e [file] [log] [blame]
// Copyright 2015 The Weave Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef LIBWEAVE_SRC_COMMANDS_SCHEMA_CONSTANTS_H_
#define LIBWEAVE_SRC_COMMANDS_SCHEMA_CONSTANTS_H_
namespace weave {
namespace errors {
namespace commands {
// Common command definition error codes.
extern const char kTypeMismatch[];
extern const char kInvalidPropValue[];
extern const char kPropertyMissing[];
extern const char kInvalidCommandName[];
extern const char kCommandFailed[];
extern const char kInvalidMinimalRole[];
extern const char kCommandDestroyed[];
extern const char kInvalidState[];
} // namespace commands
} // namespace errors
namespace commands {
namespace attributes {
// Command description JSON schema attributes.
extern const char kCommand_Id[];
extern const char kCommand_Name[];
extern const char kCommand_Component[];
extern const char kCommand_Parameters[];
extern const char kCommand_Progress[];
extern const char kCommand_Results[];
extern const char kCommand_State[];
extern const char kCommand_Error[];
} // namespace attributes
} // namespace commands
} // namespace weave
#endif // LIBWEAVE_SRC_COMMANDS_SCHEMA_CONSTANTS_H_